summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/FrontendActions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* objc rewriter: start supporting modern objective-c abiFariborz Jahanian2012-02-071-1/+6
| | | | | | in objective-c rewriter. wip. llvm-svn: 149989
* Basic: import SmallString<> into clang namespaceDylan Noblesmith2012-02-051-3/+3
| | | | | | | (I was going to fix the TODO about DenseMap too, but that would break self-host right now. See PR11922.) llvm-svn: 149799
* Basic: import OwningPtr<> into clang namespaceDylan Noblesmith2012-02-051-2/+2
| | | | llvm-svn: 149798
* In FixItRecompile::BeginInvocation() reset the diagnostics before executingArgyrios Kyrtzidis2012-01-271-0/+1
| | | | | | the original action. llvm-svn: 149120
* In FixItRecompile::BeginInvocation(), check the return value of ↵Argyrios Kyrtzidis2012-01-271-18/+20
| | | | | | BeginSourceFile(). llvm-svn: 149107
* Remove the headers now that ::close() is not used.Argyrios Kyrtzidis2012-01-261-7/+0
| | | | llvm-svn: 149044
* In FixItRewriteToTemp::RewriteFilename don't try to close the file descriptorArgyrios Kyrtzidis2012-01-261-7/+8
| | | | | | | | with close(); return it instead. Fixes mingw build and eliminates possible racing issues. llvm-svn: 149043
* Rewrite/FrontendActions.cpp: Tweak to unbreak msvc.NAKAMURA Takumi2012-01-261-0/+6
| | | | llvm-svn: 149041
* Add missing include of <unistd.h>Douglas Gregor2012-01-261-0/+2
| | | | llvm-svn: 149035
* Introduce 3 new fixit options:Argyrios Kyrtzidis2012-01-261-0/+57
| | | | | | | | | | | | | | -fixit-recompile applies fixits and recompiles the result -fixit-to-temporary applies fixits to temporary files -fix-only-warnings">, applies fixits for warnings only, not errors Combining "-fixit-recompile -fixit-to-temporary" allows testing the result of fixits without touching the original sources. llvm-svn: 149027
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-8/+8
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Replace all uses of PathV1::get{Basename,Dirname,Suffix} with their PathV2 ↵Michael J. Spencer2010-12-181-5/+4
| | | | | | equivalents. llvm-svn: 122140
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* More class anonymization.Benjamin Kramer2010-10-221-0/+2
| | | | llvm-svn: 117106
* Make the FixItOptions object required instead of optional.Nick Lewycky2010-08-151-1/+7
| | | | llvm-svn: 111105
* Add a new cc1 option -fix-what-you-can which when combined with the fix-it modeNick Lewycky2010-08-131-6/+9
| | | | | | will apply all fixes even when there were other errors in the file. llvm-svn: 111020
* Break Frontend's dependency on Rewrite, Checker and CodeGen in shared ↵Daniel Dunbar2010-06-151-0/+106
library configuration Currently, all AST consumers are located in the Frontend library, meaning that in a shared library configuration, Frontend has a dependency on Rewrite, Checker and CodeGen. This is suboptimal for clients which only wish to make use of the frontend. CodeGen in particular introduces a large number of unwanted dependencies. This patch breaks the dependency by moving all AST consumers with dependencies on Rewrite, Checker and/or CodeGen to their respective libraries. The patch therefore introduces dependencies in the other direction (i.e. from Rewrite, Checker and CodeGen to Frontend). After applying this patch, Clang builds correctly using CMake and shared libraries ("cmake -DBUILD_SHARED_LIBS=ON"). N.B. This patch includes file renames which are indicated in the patch body. Changes in this revision of the patch: - Fixed some copy-paste mistakes in the header files - Modified certain aspects of the coding to comply with the LLVM Coding Standards llvm-svn: 106010
OpenPOWER on IntegriCloud