summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-cc/AnalysisConsumer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move AnalysisConsumer.h and Analyses.def from tools/clang-cc to Eli Friedman2009-05-191-659/+0
| | | | | | | include/clang/Frontend, and move AnalysisConsumer.cpp from tools/clang-cc to lib/Frontend. llvm-svn: 72135
* Move analysis command-line options out of AnalysisConsumer.cpp into Eli Friedman2009-05-191-117/+31
| | | | | | | | | clang-cc.cpp. With this commit, all of the clang-cc command-line options are defined in clang-cc.cpp. llvm-svn: 72107
* Move CreateAnalysisConsumer into a separate header AnalysisConsumer.h. Eli Friedman2009-05-191-30/+1
| | | | | | | Start moving things around in the direction of refactoring the command-line options out of AnalysisConsumer.cpp. llvm-svn: 72097
* Move AnalysisConsumer out of ASTConsumers.h in preparation for moving Eli Friedman2009-05-181-1/+1
| | | | | | ASTConsumers.h to include/clang/Frontend. llvm-svn: 72054
* Fix <rdar://problem/6848739>. When using -analyze, -Werror has no effect.Ted Kremenek2009-05-071-0/+3
| | | | llvm-svn: 71172
* FunctionDecl::getBody() is getting an ASTContext argument for use inDouglas Gregor2009-04-181-1/+1
| | | | | | | | 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
* Propagate the ASTContext to various AST traversal and lookup functions.Douglas Gregor2009-04-091-1/+2
| | | | | | No functionality change (really). llvm-svn: 68726
* Push DeclGroup much farther throughout the compiler. Now the variousChris Lattner2009-03-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove TranslationUnit.Chris Lattner2009-03-281-2/+0
| | | | llvm-svn: 67914
* change HandleTranslationUnit to take an ASTContext instead of TranslationUnitChris Lattner2009-03-281-3/+3
| | | | llvm-svn: 67910
* remove dead ivar.Chris Lattner2009-03-281-11/+4
| | | | llvm-svn: 67907
* don't poke at TranslationUnit directlyChris Lattner2009-03-281-2/+6
| | | | llvm-svn: 67900
* Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar2009-03-241-0/+770
Again, I tried to update cmake but it is untested. llvm-svn: 67605
OpenPOWER on IntegriCloud