summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-cc/RewriteBlocks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-181-1158/+0
| | | | | | .cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
* Refactor ASTConsumers to take a raw_ostream instead of a filename where Eli Friedman2009-05-181-8/+3
| | | | | | appropriate. There shouldn't be any significant functionality change. llvm-svn: 72052
* Implement function-try-blocks. However, there's a very subtle bug that I ↵Sebastian Redl2009-04-261-2/+3
| | | | | | can't track down. llvm-svn: 70155
* FunctionDecl::getBody() is getting an ASTContext argument for use inDouglas Gregor2009-04-181-3/+3
| | | | | | | | lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406
* Change Lexer::MeasureTokenLength to take a LangOptions reference.Chris Lattner2009-04-141-1/+1
| | | | | | | | | | | | | | | | | | This allows it to accurately measure tokens, so that we get: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~^ instead of the woefully inferior: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~ ^ Most of this is just plumbing to push the reference around. llvm-svn: 69099
* Propagate the ASTContext to various AST traversal and lookup functions.Douglas Gregor2009-04-091-14/+26
| | | | | | No functionality change (really). llvm-svn: 68726
* Push DeclGroup much farther throughout the compiler. Now the variousChris Lattner2009-03-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | productions (except the already broken ObjC cases like @class X,Y;) in the parser that can produce more than one Decl return a DeclGroup instead of a Decl, etc. This allows elimination of the Decl::NextDeclarator field, and exposes various clients that should look at all decls in a group, but which were only looking at one (such as the dumper, printer, etc). These have been fixed. Still TODO: 1) there are some FIXME's in the code about potentially using DeclGroup for better location info. 2) ParseObjCAtDirectives should return a DeclGroup due to @class etc. 3) I'm not sure what is going on with StmtIterator.cpp, or if it can be radically simplified now. 4) I put a truly horrible hack in ParseTemplate.cpp. I plan to bring up #3/4 on the mailing list, but don't plan to tackle #1/2 in the short term. llvm-svn: 68002
* Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar2009-03-241-0/+1146
Again, I tried to update cmake but it is untested. llvm-svn: 67605
OpenPOWER on IntegriCloud