summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FixItRewriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When suggesting a typo correction for an @implementation without aDouglas Gregor2010-01-061-0/+3
| | | | | | | | | | corresponding @interface, provide a note showing which interface we're referring to. This note has the fix-it hint on it. Also, don't automatically apply fix-it hints for notes. They're meant to express fix-its that would change semantics. llvm-svn: 92870
* Kill a few more random stderr uses.Daniel Dunbar2009-12-031-1/+1
| | | | llvm-svn: 90441
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-11/+11
| | | | llvm-svn: 81346
* Update clang for raw_fd_ostream no longer requiring F_Force.Dan Gohman2009-08-251-4/+2
| | | | llvm-svn: 79991
* Fix build of clang with gcc-4.4: #include <cstdio> was missing.Torok Edwin2009-08-241-0/+2
| | | | llvm-svn: 79916
* API changes to match llvm ToT.Chris Lattner2009-08-231-1/+1
| | | | llvm-svn: 79868
* Replace cerr with errs().Benjamin Kramer2009-08-231-2/+1
| | | | llvm-svn: 79854
* adjust for raw_fd_ostream api change.Chris Lattner2009-08-231-10/+6
| | | | llvm-svn: 79809
* Remove now unnecessary helper methods.Daniel Dunbar2009-08-191-1/+1
| | | | llvm-svn: 79460
* Convert parts of Rewriter to StringRef based API.Daniel Dunbar2009-08-191-2/+1
| | | | | | | - Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls, etc. llvm-svn: 79448
* Update for raw_fd_ostream API changes. raw_fd_ostream now has aDan Gohman2009-07-151-0/+2
| | | | | | | Force flag to control whether the case of opening an existing file is considered an error. llvm-svn: 75802
* Change Lexer::MeasureTokenLength to take a LangOptions reference.Chris Lattner2009-04-141-2/+3
| | | | | | | | | | | | | | | | | | 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
* Add a new command-line option "-fixit-at=file:line:column" that onlyDouglas Gregor2009-04-021-2/+37
| | | | | | | applies fix-its to error messages that occur at that specific location in the program. llvm-svn: 68342
* Provide FIX-IT notes to describe what fix-it is doing behind theDouglas Gregor2009-04-021-31/+39
| | | | | | | scenes, using the underlying diagnostic client to format the messages. llvm-svn: 68324
* Some cleanups to the fix-it rewriter. Thanks, ChrisDouglas Gregor2009-04-021-29/+43
| | | | llvm-svn: 68322
* Clean up -fixit output slightlyDouglas Gregor2009-04-021-1/+2
| | | | llvm-svn: 68278
* Introduce a "-fixit" mode to clang-cc that applies code-modification hints.Douglas Gregor2009-04-021-0/+140
llvm-svn: 68268
OpenPOWER on IntegriCloud