llvm-project/clang/lib/Rewrite
John McCall cf14216509 Store inheritance paths after CastExprs instead of inside them.
This takes some trickery since CastExpr has subclasses (and indeed,
is abstract).

Also, smoosh the CastKind into the bitfield from Expr.

Drops two words of storage from Expr in the common case of expressions
which don't need inheritance paths.  Avoids a separate allocation and
another word of overhead in cases needing inheritance paths.  Also has
the advantage of not leaking memory, since destructors for AST nodes are
never run.

llvm-svn: 110507
2010-08-07 06:22:56 +00:00
..
CMakeLists.txt Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +00:00
DeltaTree.cpp reduce redundant are's 2010-01-20 17:53:58 +00:00
FixItRewriter.cpp Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +00:00
FrontendActions.cpp Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +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 make the token paste avoidance logic turn "..." into ".. ." instead of ". . ." 2010-04-14 03:57:19 +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 Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration 2010-06-15 17:48:49 +00:00
RewriteObjC.cpp Store inheritance paths after CastExprs instead of inside them. 2010-08-07 06:22:56 +00:00
RewriteRope.cpp Fix: 2010-06-14 18:31:46 +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 Fix PR5633 by making the preprocessor handle the case where we can 2009-11-30 04:18:44 +00:00