hanchenye-llvm-project/clang/lib/Lex
Nico Weber 4c3116437c * Remove isInSystemHeader() from DiagClient, move it to SourceManager
* Move FormatError() from TextDiagnostic up to DiagClient, remove now  
  empty class TextDiagnostic
* Make DiagClient optional for Diagnostic

This fixes the following problems:

* -html-diags (and probably others) does now output the same set of  
  warnings as console clang does
* nothing crashes if one forgets to call setHeaderSearch() on  
  TextDiagnostic
* some code duplication is removed

llvm-svn: 54620
2008-08-10 19:59:06 +00:00
..
HeaderMap.cpp Update to match simplified llvm MemoryBuffer interfaces for files. 2008-04-01 18:04:30 +00:00
HeaderSearch.cpp
Lexer.cpp Fix typo 2008-04-14 02:26:39 +00:00
LiteralSupport.cpp In c89 mode accept hex fp constants as an extension: 2008-07-25 18:18:34 +00:00
MacroArgs.cpp
MacroArgs.h
MacroInfo.cpp
Makefile
PPCaching.cpp Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking. 2008-08-10 13:15:22 +00:00
PPDirectives.cpp * Remove isInSystemHeader() from DiagClient, move it to SourceManager 2008-08-10 19:59:06 +00:00
PPExpressions.cpp Fix PR2252: don't warn on negating an unsigned value ever, and don't emit 2008-07-03 03:47:30 +00:00
PPLexerChange.cpp Allow the preprocessor to cache the lexed tokens, so that we can do efficient lookahead and backtracking. 2008-08-10 13:15:22 +00:00
PPMacroExpansion.cpp The awesome GNU "comma elision extension" works with both the standard 2008-05-08 05:10:33 +00:00
Pragma.cpp
Preprocessor.cpp * Remove isInSystemHeader() from DiagClient, move it to SourceManager 2008-08-10 19:59:06 +00:00
ScratchBuffer.cpp
TokenLexer.cpp