================
Comment at: lib/Parse/ParseExprCXX.cpp:647
@@ +646,3 @@
+      if (C->Init.isUsable()) {
+        // This also performs any lvalue-to-rvalue conversions if necessary.
+        VarDecl *Var = Actions.checkInitCapture(C->Loc, C->Kind == LCK_ByRef,
----------------
I wonder if I could replace the entire MaybeODRUseExprStack business with the 
use of EnterExpressionEvaluationContext() here?


http://llvm-reviews.chandlerc.com/D2092
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to