#
5d4aff0c |
| 15-Jul-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Switch a comment in Rewrite from 'instantiation' to 'expansion'.
llvm-svn: 135226
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
ea4f7c77 |
| 22-Dec-2010 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Introduced raw_identifier token kind.
llvm-svn: 122394
|
#
d0040648 |
| 18-Nov-2010 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Refactoring of Diagnostic class.
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for
Refactoring of Diagnostic class.
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units. -The rest of the state in Diagnostic object is considered related and tied to one translation unit. -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a SourceLocation instead of a FullSourceLoc. -Reflect the changes to various interfaces.
llvm-svn: 119730
show more ...
|
Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
f0708dee |
| 18-Aug-2010 |
Douglas Gregor <dgregor@apple.com> |
Fix crasher with IgnoringDiagClient
llvm-svn: 111447
|
Revision tags: llvmorg-2.7.0 |
|
#
0384e635 |
| 14-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
make the token paste avoidance logic turn "..." into ".. ." instead of ". . ." when avoiding paste. Patch by David Peixotto!
llvm-svn: 101218
|
#
eb92dc0b |
| 16-Mar-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Let SourceManager::getBufferData return StringRef instead of a pair of two const char*.
llvm-svn: 98630
|
#
e0fbb83b |
| 16-Mar-2010 |
Douglas Gregor <dgregor@apple.com> |
Give SourceManager a Diagnostic object with which to report errors, and start simplifying the interfaces in SourceManager that can fail.
llvm-svn: 98594
|
#
0adf3182 |
| 15-Mar-2010 |
Douglas Gregor <dgregor@apple.com> |
Add some <cstdio> includes to unbreak the buildbots
llvm-svn: 98591
|
#
802b7760 |
| 15-Mar-2010 |
Douglas Gregor <dgregor@apple.com> |
Introduce a new BufferResult class to act as the return type of SourceManager's getBuffer() (and similar) operations. This abstract can be used to force callers to cope with errors in getBuffer(), su
Introduce a new BufferResult class to act as the return type of SourceManager's getBuffer() (and similar) operations. This abstract can be used to force callers to cope with errors in getBuffer(), such as missing files and changed files. Fix a bunch of callers to use the new interface.
Add some very basic checks for file consistency (file size, modification time) into ContentCache::getBuffer(), although these checks don't help much until we've updated the main callers (e.g., SourceManager::getSpelling()).
llvm-svn: 98585
show more ...
|
#
710bb871 |
| 30-Nov-2009 |
Chris Lattner <sabre@nondot.org> |
Fix PR5633 by making the preprocessor handle the case where we can stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h
Fix PR5633 by making the preprocessor handle the case where we can stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h'
instead of "cannot find file".
llvm-svn: 90110
show more ...
|
#
a2ff3b48 |
| 05-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Make html::{SyntaxHighlight,HighlightMacros} take a const Preprocessor.
This is conceptually correct, but adds a huge hack to HighlightMacros which is in fact doing all sorts of mutation to the Prep
Make html::{SyntaxHighlight,HighlightMacros} take a const Preprocessor.
This is conceptually correct, but adds a huge hack to HighlightMacros which is in fact doing all sorts of mutation to the Preprocessor. See FIXME.
Chris, please review.
llvm-svn: 86107
show more ...
|
#
d0ba0e61 |
| 04-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Kill PreprocessorFactory, which was both morally repugnant and totally unused.
llvm-svn: 86076
|
Revision tags: llvmorg-2.6.0 |
|
#
11289f42 |
| 09-Sep-2009 |
Mike Stump <mrs@apple.com> |
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
|
#
62c850fb |
| 19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove now unnecessary helper methods.
llvm-svn: 79460
|
#
dec484ab |
| 19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Convert parts of Rewriter to StringRef based API. - Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls,
Convert parts of Rewriter to StringRef based API. - Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls, etc.
llvm-svn: 79448
show more ...
|
#
69c300d5 |
| 19-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use raw_svector_ostream for string concatenation.
llvm-svn: 79444
|
#
b562444c |
| 17-Aug-2009 |
Zhongxing Xu <xuzhongxing@gmail.com> |
adjust indentation.
llvm-svn: 79236
|
#
6dec0029 |
| 21-Jul-2009 |
Ted Kremenek <kremenek@apple.com> |
Patch by Stefan Bühler: Escape text in macro expansion when emitting HTML in the HTMLRewriter.
This fixes PR 4602.
llvm-svn: 76647
|
#
184e65d3 |
| 14-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
Change Lexer::MeasureTokenLength to take a LangOptions reference. This allows it to accurately measure tokens, so that we get:
t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~
Change Lexer::MeasureTokenLength to take a LangOptions reference. 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
show more ...
|
#
e07ea358 |
| 13-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
fix PR3798 by ignoring all diagnostics generated while repreprocessing a file in rewrite macros.
llvm-svn: 66961
|
#
a039a622 |
| 10-Mar-2009 |
Ted Kremenek <kremenek@apple.com> |
Adjust HTML diagnostics CSS to not use "smaller" for font size and instead use specific point sizes.
llvm-svn: 66523
|
Revision tags: llvmorg-2.5.0 |
|
#
6c6a098a |
| 03-Mar-2009 |
Ted Kremenek <kremenek@apple.com> |
Tighten message bubble height. Make bubble number decoration look more like circles than ovals.
llvm-svn: 65921
|
#
ccca5c3f |
| 02-Mar-2009 |
Ted Kremenek <kremenek@apple.com> |
Adjust CSS to make message bubble numbers less gaudy.
llvm-svn: 65903
|
#
c62af6c4 |
| 02-Mar-2009 |
Ted Kremenek <kremenek@apple.com> |
Adjust HTML message bubbles to utilize information from PathDiagnosticPiece::Kind.
llvm-svn: 65891
|
#
e780823f |
| 02-Mar-2009 |
Ted Kremenek <kremenek@apple.com> |
Update HTML diagnostics to honor the different between 'event' and 'control-flow' diagnostics.
llvm-svn: 65877
|