[PATCH] D23204: Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture().

Martin Böhme via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 07:55:56 PDT 2016


mboehme marked 3 inline comments as done.

================
Comment at: unittests/Tooling/RecursiveASTVisitorTestExprVisitor.cpp:239
@@ +238,3 @@
+  EXPECT_TRUE(Visitor.runOver(
+    "void f() { int i; [a = i + 1]{}; }",
+    DeclRefExprVisitor::Lang_CXX14));
----------------
alexfh wrote:
> So, C++14 allows you do that? Wow, TIL something new about C++ ;)
;)


https://reviews.llvm.org/D23204





More information about the cfe-commits mailing list