forked from OSchip/llvm-project
86e67a2fc4
use/maintain additional state from the LambdaExpr while visiting the body of a LambdaExpr. One use for this arises because Clang's AST currently holds lambda bodies in a form prior to their adjustment to refer to captured copies of local variables, and so some clients will need access to the lambda's closure type in order to query how to map VarDecl*s to the FieldDecls of their by-copy captures. This hook is sufficient for at least one such client; to do this without such a hook would require the client to re-implement the whole of TraverseLambdaExpr, which is non-trivial and would likely be more brittle. llvm-svn: 186024 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CommentHandlerTest.cpp | ||
CompilationDatabaseTest.cpp | ||
Makefile | ||
RecursiveASTVisitorTest.cpp | ||
RefactoringCallbacksTest.cpp | ||
RefactoringTest.cpp | ||
RewriterTest.cpp | ||
RewriterTestContext.h | ||
TestVisitor.h | ||
ToolingTest.cpp |