summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTConsumers.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove OriginalTypeParmDecl; the original type is the one specifiedJohn McCall2009-10-231-5/+0
| | | | | | | | | | | | | in the DeclaratorInfo, if one is present. Preserve source information through template instantiation. This is made more complicated by the possibility that ParmVarDecls don't have DIs, which is possibly worth fixing in the future. Also preserve source information for function parameters in ObjC method declarations. llvm-svn: 84971
* Don't try to dump invalid decls or forward decls.Anders Carlsson2009-09-261-0/+6
| | | | llvm-svn: 82827
* Who would have thought that empty classes were so tricky? Handle cases where ↵Anders Carlsson2009-09-251-0/+3
| | | | | | an empty virtual base class needs to be moved aside because it conflicts with the first field. llvm-svn: 82746
* Improve the record layout dumper.Anders Carlsson2009-09-241-2/+87
| | | | llvm-svn: 82733
* Add a -dump-record-layouts argument to clang-cc.Anders Carlsson2009-09-241-0/+50
| | | | llvm-svn: 82703
* Eliminate FunctionDecl::getBodyIfAvailableDouglas Gregor2009-09-121-2/+2
| | | | llvm-svn: 81588
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-26/+24
| | | | llvm-svn: 81346
* Fix build of clang with gcc-4.4: #include <cstdio> was missing.Torok Edwin2009-08-241-0/+2
| | | | llvm-svn: 79916
* Replace cerr with errs().Benjamin Kramer2009-08-231-5/+4
| | | | llvm-svn: 79854
* 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