Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better coverage for -dump-record-layouts and -print-decl-contexts. | Eli Friedman | 2010-01-03 | 1 | -0/+13 |
| | | | | llvm-svn: 92441 | ||||
* | Small compatibility fix for -print-decl-contexts. | Eli Friedman | 2009-12-08 | 1 | -0/+5 |
| | | | | llvm-svn: 90838 | ||||
* | Kill a few more random stderr uses. | Daniel Dunbar | 2009-12-03 | 1 | -3/+1 |
| | | | | llvm-svn: 90441 | ||||
* | Audit the code for places where it is assumed that every base specifier ↵ | Sebastian Redl | 2009-10-25 | 1 | -0/+2 |
| | | | | | | refers to a RecordType. Add assertions or conditions as appropriate. This fixes another crash in the Apache stdlib vector. llvm-svn: 85055 | ||||
* | Remove OriginalTypeParmDecl; the original type is the one specified | John McCall | 2009-10-23 | 1 | -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 Carlsson | 2009-09-26 | 1 | -0/+6 |
| | | | | llvm-svn: 82827 | ||||
* | Who would have thought that empty classes were so tricky? Handle cases where ↵ | Anders Carlsson | 2009-09-25 | 1 | -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 Carlsson | 2009-09-24 | 1 | -2/+87 |
| | | | | llvm-svn: 82733 | ||||
* | Add a -dump-record-layouts argument to clang-cc. | Anders Carlsson | 2009-09-24 | 1 | -0/+50 |
| | | | | llvm-svn: 82703 | ||||
* | Eliminate FunctionDecl::getBodyIfAvailable | Douglas Gregor | 2009-09-12 | 1 | -2/+2 |
| | | | | llvm-svn: 81588 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -26/+24 |
| | | | | llvm-svn: 81346 | ||||
* | Fix build of clang with gcc-4.4: #include <cstdio> was missing. | Torok Edwin | 2009-08-24 | 1 | -0/+2 |
| | | | | llvm-svn: 79916 | ||||
* | Replace cerr with errs(). | Benjamin Kramer | 2009-08-23 | 1 | -5/+4 |
| | | | | llvm-svn: 79854 | ||||
* | remove dead code. | Zhongxing Xu | 2009-06-30 | 1 | -2/+0 |
| | | | | llvm-svn: 74517 | ||||
* | De-ASTContext-ify DeclContext. | Argyrios Kyrtzidis | 2009-06-30 | 1 | -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 Kyrtzidis | 2009-06-30 | 1 | -3/+3 |
| | | | | llvm-svn: 74503 | ||||
* | Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine. | Argyrios Kyrtzidis | 2009-06-17 | 1 | -4/+4 |
| | | | | llvm-svn: 73651 | ||||
* | Refactor and clean up the AST printer, so that it uses a DeclVisitor, | Douglas Gregor | 2009-05-30 | 1 | -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 AST | Douglas Gregor | 2009-05-29 | 1 | -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 Gregor | 2009-05-21 | 1 | -0/+36 |
| | | | | llvm-svn: 72224 | ||||
* | Move ASTConsumers.h to include/clang/Frontend, and move the associated | Eli Friedman | 2009-05-18 | 1 | -0/+1032 |
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060 |