llvm-project/clang/lib/Rewrite
John McCall 351762cda2 A few more tweaks to the blocks AST representation:
- BlockDeclRefExprs always store VarDecls
  - BDREs no longer store copy expressions
  - BlockDecls now store a list of captured variables, information about
    how they're captured, and a copy expression if necessary
    
With that in hand, change IR generation to use the captures data in       
blocks instead of walking the block independently.        

Additionally, optimize block layout by emitting fields in descending
alignment order, with a heuristic for filling in words when alignment
of the end of the block header is insufficient for the most aligned
field.

llvm-svn: 125005
2011-02-07 10:33:21 +00:00
..
CMakeLists.txt Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
DeltaTree.cpp "I see dead code". IdempotentOperationChecker::isTruncationExtensionAssignment 2010-09-03 04:34:38 +00:00
FixItRewriter.cpp Merge System into Support. 2010-11-29 18:12:39 +00:00
FrontendActions.cpp Replace all uses of PathV1::get{Basename,Dirname,Suffix} with their PathV2 equivalents. 2010-12-18 04:13:32 +00:00
HTMLPrint.cpp Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +00:00
HTMLRewrite.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
RewriteMacros.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
RewriteObjC.cpp A few more tweaks to the blocks AST representation: 2011-02-07 10:33:21 +00:00
RewriteRope.cpp zap more dead code. 2010-09-04 18:19:08 +00:00
RewriteTest.cpp Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +00:00
Rewriter.cpp Pass StringRefs by value. 2010-07-14 23:19:41 +00:00
TokenRewriter.cpp Clang should not warn on code in clang that is only there to remove warnings. 2011-01-06 01:37:28 +00:00