hanchenye-llvm-project/clang/lib/Lex
Ted Kremenek f42f3fb47d class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its dstor.
clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and
  passes it to the preprocessor object.
  
clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main().

html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new
Preprocessor to highlight macros.

class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros().
Updated clients of HTMLDiagnostics to use this new interface.

llvm-svn: 49875
2008-04-17 22:31:54 +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 Support MS-specific integer suffixes (i8, i16, i32, i64, i128). 2008-04-04 21:02:54 +00:00
MacroArgs.cpp
MacroArgs.h
MacroInfo.cpp
Makefile
PPDirectives.cpp
PPExpressions.cpp Fix PR2220, making diagnostics for unexpected tokens in pp expressions 2008-04-13 20:38:43 +00:00
PPLexerChange.cpp Avoid overflowing buffer, patch by Algeris Kirtzidis! 2008-03-24 21:14:55 +00:00
PPMacroExpansion.cpp Plug a memory leak in the "this macro expands into a single trivially- 2008-03-21 07:13:02 +00:00
Pragma.cpp
Preprocessor.cpp class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its dstor. 2008-04-17 22:31:54 +00:00
ScratchBuffer.cpp
TokenLexer.cpp