Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change Lexer::MeasureTokenLength to take a LangOptions reference. | Chris Lattner | 2009-04-14 | 1 | -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 only | Douglas Gregor | 2009-04-02 | 1 | -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 the | Douglas Gregor | 2009-04-02 | 1 | -31/+39 |
| | | | | | | | scenes, using the underlying diagnostic client to format the messages. llvm-svn: 68324 | ||||
* | Some cleanups to the fix-it rewriter. Thanks, Chris | Douglas Gregor | 2009-04-02 | 1 | -29/+43 |
| | | | | llvm-svn: 68322 | ||||
* | Clean up -fixit output slightly | Douglas Gregor | 2009-04-02 | 1 | -1/+2 |
| | | | | llvm-svn: 68278 | ||||
* | Introduce a "-fixit" mode to clang-cc that applies code-modification hints. | Douglas Gregor | 2009-04-02 | 1 | -0/+140 |
llvm-svn: 68268 |