NoQ accepted this revision. NoQ added a comment. I'm still curious whether this also works:
void foo() { const A &x = B(); bar(); } void bar() { for (int i = 0; i < 10; ++i) {} } Though we can land this patch and deal with this later. Repository: rC Clang https://reviews.llvm.org/D47044 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits