hanchenye-llvm-project/clang/lib/AST
Argyrios Kyrtzidis 743e7db794 -Keep a reference to the ASTContext inside the TranslationUnitDecl.
-Introduce Decl::getASTContext() which returns the reference from the TranslationUnitDecl that it is contained in.

The general idea is that Decls can point to their own ASTContext so that it is no longer required to "manually" keep track and make sure that you pass the correct ASTContext to Decls' methods, e.g. methods like Decl::getAttrs should eventually not require a ASTContext parameter.

llvm-svn: 74434
2009-06-29 17:38:40 +00:00
..
APValue.cpp Remove some now-unneeded calls to llvm::errs().flush(). 2009-03-10 18:00:19 +00:00
ASTConsumer.cpp Push DeclGroup much farther throughout the compiler. Now the various 2009-03-29 16:50:03 +00:00
ASTContext.cpp Remove ASTContext::getObjCQualifiedIdType(). 2009-06-29 16:22:52 +00:00
CFG.cpp Remove unneeded #includes. 2009-06-24 22:26:16 +00:00
CMakeLists.txt move the various builtins stuff from libast to libbasic. This 2009-06-14 01:05:48 +00:00
Decl.cpp -Keep a reference to the ASTContext inside the TranslationUnitDecl. 2009-06-29 17:38:40 +00:00
DeclBase.cpp -Keep a reference to the ASTContext inside the TranslationUnitDecl. 2009-06-29 17:38:40 +00:00
DeclCXX.cpp Improve support for overloaded operator templates. 2009-06-27 21:05:07 +00:00
DeclGroup.cpp Remove the serialization code that predates precompiled 2009-04-22 21:45:53 +00:00
DeclObjC.cpp Adds synthesize ivars to DeclContext. 2009-06-06 16:36:41 +00:00
DeclPrinter.cpp Keep track of whether a type parameter is actually a type parameter pack. 2009-06-12 22:23:22 +00:00
DeclTemplate.cpp Check in a new template argument list builder that should work better for variadic templates. 2009-06-23 01:26:57 +00:00
DeclarationName.cpp Make sure that we use the canonical type for the names of instantiated 2009-05-15 21:18:27 +00:00
Expr.cpp Fix the FloatingLiteral API to take the isexact flag by value instead of 2009-06-29 17:34:55 +00:00
ExprCXX.cpp Handle temporaries in default arguments. 2009-06-16 03:37:31 +00:00
ExprConstant.cpp OpenCL 1.0 Support: 2009-06-26 18:22:18 +00:00
InheritViz.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
NestedNameSpecifier.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +00:00
ParentMap.cpp Add ParentMap:getParentIgnoreParens(). 2009-05-11 19:49:27 +00:00
Stmt.cpp Simplify printing of the statistics for types. 2009-05-26 14:40:08 +00:00
StmtDumper.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +00:00
StmtIterator.cpp When evaluating a VarDecl as a constant or determining whether it is 2009-05-26 18:54:04 +00:00
StmtPrinter.cpp PR4391: Tweak -ast-print output to generate valid output for edge cases 2009-06-14 22:39:26 +00:00
StmtViz.cpp Update for LLVM API changes. 2009-06-24 17:37:55 +00:00
TemplateName.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +00:00
Type.cpp An auto variable can't appear in its own initializer. 2009-06-26 19:16:07 +00:00