hanchenye-llvm-project/clang/test/Misc
Chris Lattner 9ef847be12 Fix rdar://6562329, a static analyzer crash Ted noticed on
wine sources.  This was happening because HighlightMacros was 
calling EnterMainFile multiple times on the same preprocessor
object and getting an assert due to the new #line stuff (the
file in question was bison output with #line directives).

The fix for this is to not reenter the file.  Instead, 
relex the tokens in raw mode, swizzle them a bit and repreprocess
the token stream.  An added bonus of this is that rewrite macros
will now hilight the macro definition as well as its uses.  Woo.

llvm-svn: 64480
2009-02-13 19:33:24 +00:00
..
diag-checker.c fix bogus run line. 2008-08-18 19:54:48 +00:00
emit-html.c Fix rdar://6562329, a static analyzer crash Ted noticed on 2009-02-13 19:33:24 +00:00