summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTConsumers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove dead code.Zhongxing Xu2009-06-301-2/+0
| | | | llvm-svn: 74517
* De-ASTContext-ify DeclContext.Argyrios Kyrtzidis2009-06-301-4/+3
| | | | | | | Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506
* Remove the ASTContext parameter from the printing related methods of Decl.Argyrios Kyrtzidis2009-06-301-3/+3
| | | | llvm-svn: 74503
* Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.Argyrios Kyrtzidis2009-06-171-4/+4
| | | | llvm-svn: 73651
* Refactor and clean up the AST printer, so that it uses a DeclVisitor,Douglas Gregor2009-05-301-637/+16
| | | | | | | | | walks through DeclContexts properly, and prints more of the information available in the AST. The functionality is still available via -ast-print, -ast-dump, etc., and also via the new member functions Decl::dump() and Decl::print(). llvm-svn: 72597
* Create a new PrintingPolicy class, which we pass down through the ASTDouglas Gregor2009-05-291-11/+15
| | | | | | | | | printing logic to help customize the output. For now, we use this rather than a special flag to suppress the "struct" when printing "struct X" and to print the Boolean type as "bool" in C++ but "_Bool" in C. llvm-svn: 72590
* AST XML dump, from Olaf Krzikalla!Douglas Gregor2009-05-211-0/+36
| | | | llvm-svn: 72224
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-181-0/+1032
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
OpenPOWER on IntegriCloud