summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-cc/Backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-181-414/+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-34/+7
| | | | | | appropriate. There shouldn't be any significant functionality change. llvm-svn: 72052
* Remove two unused options.Bill Wendling2009-04-301-2/+0
| | | | llvm-svn: 70457
* Use the new code gen optimization enum instead of passing in the optimizationBill Wendling2009-04-291-5/+12
| | | | | | level. This is more expressive. llvm-svn: 70451
* Match addPassesToEmitFile API change.Evan Cheng2009-04-291-2/+4
| | | | llvm-svn: 70409
* Explictly track tentative definitions within Sema, then hand thoseDouglas Gregor2009-04-211-0/+4
| | | | | | | | | | | | | | | tentative definitions off to the ASTConsumer at the end of the translation unit. Eliminate CodeGen's internal tracking of tentative definitions, and instead hook into ASTConsumer::CompleteTentativeDefinition. Also, tweak the definition-deferal logic for C++, where there are no tentative definitions. Fixes <rdar://problem/6808352>, and will make it much easier for precompiled headers to cope with tentative definitions in the future. llvm-svn: 69681
* Reapply 68936, turned out to that clang's better debug info exposed aDaniel Dunbar2009-04-131-6/+0
| | | | | | codegenerator bug. llvm-svn: 68983
* Revert 68936, LLVM still isn't ready to handle debug info + optimization.Daniel Dunbar2009-04-131-0/+6
| | | | llvm-svn: 68972
* Enable debug info generation while optimizing.Devang Patel2009-04-131-6/+0
| | | | llvm-svn: 68936
* Push DeclGroup much farther throughout the compiler. Now the variousChris Lattner2009-03-291-5/+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
* push more ASTContext goodness out through interfaces that useChris Lattner2009-03-281-1/+0
| | | | | | TranslationUnit llvm-svn: 67913
* change HandleTranslationUnit to take an ASTContext instead of TranslationUnitChris Lattner2009-03-281-2/+2
| | | | llvm-svn: 67910
* eliminate ASTConsumer::InitializeTU, all clients areChris Lattner2009-03-281-5/+4
| | | | | | happy with just ASTContext, they don't need a TU. llvm-svn: 67894
* most of this is plumbing to get CompileOptions down into Chris Lattner2009-03-261-1/+1
| | | | | | | CodeGenModule. Once there, add a new NoCommon option to it and implement -fno-common. llvm-svn: 67735
* Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar2009-03-241-0/+436
Again, I tried to update cmake but it is untested. llvm-svn: 67605
OpenPOWER on IntegriCloud