aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
AgeCommit message (Expand)Author
2008-12-12Added PTH optimization to not process entire blocks of tokens that appear in ...Ted Kremenek
2008-12-02Preprocessor:Ted Kremenek
2008-11-22Move the Preprocessor::Diag methods inline. This has the interestingChris Lattner
2008-11-22inline a method into its only two call sites.Chris Lattner
2008-11-22Split the DiagnosticInfo class into two disjoint classes:Chris Lattner
2008-11-22Fix predicate: we're not in caching mode if CurPPLexer == 0, not CurLexer == 0.Ted Kremenek
2008-11-21Add comment to IsFileLexer, clean up indentation, and tighten how it's written.Ted Kremenek
2008-11-20Rename IsNonPragmaNonMacroLexer to IsFileLexer.Ted Kremenek
2008-11-20Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to mat...Ted Kremenek
2008-11-20Preprocessor::getCurrentFileLexer() now returns a PreprocessorLexer* instead ofTed Kremenek
2008-11-19- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.Ted Kremenek
2008-11-19Fix this:Argyrios Kyrtzidis
2008-11-19Remove Preprocessor::CacheTokens boolean data member. The same functionality ...Argyrios Kyrtzidis
2008-11-19Revert 59574 (caused tests to fail).Ted Kremenek
2008-11-19- Move static function IsNonPragmaNonMacroLexer into Preprocessor.h.Ted Kremenek
2008-11-18Remove the last of the old-style Preprocessor::Diag methods.Chris Lattner
2008-11-18remove one more Preprocessor::Diag method.Chris Lattner
2008-11-18Convert the lexer and start converting the PP over to using canonical Diag me...Chris Lattner
2008-11-18Preprocessor::PushIncludeMacroStack() should always zero out CurPPLexer.Ted Kremenek
2008-11-18Add hooks to use PTHLexer::Lex instead of Lexer::Lex when CurLexer is null.Ted Kremenek
2008-11-18- Add 'CurPPLexer' to Preprocessor to keep track of the currentTed Kremenek
2008-11-17Introduction the DeclarationName class, as a single, general method ofDouglas Gregor
2008-11-13Using llvm::OwningPtr<> for CurLexer and CurTokenLexer. This makes both the ...Ted Kremenek
2008-11-12Unbreak last commit.Ted Kremenek
2008-11-12Add Preprocessor::PushIncludeMacroStack() and Preprocessor::PopIncludeMacroSt...Ted Kremenek
2008-11-08Introduce annotation tokens, a special kind of token, created and used only b...Argyrios Kyrtzidis
2008-10-04Add Preprocessor::RemovePragmaHandler.Daniel Dunbar
2008-09-26Fix the rest of rdar://6243860 hopefully. This requires changing FileIDInfoChris Lattner
2008-08-24Rename Preprocessor::DisableBacktrack -> Preprocessor::CommitBacktrackedTokens.Argyrios Kyrtzidis
2008-08-24Comment tweak.Chris Lattner
2008-08-22Allow nested backtracks.Argyrios Kyrtzidis
2008-08-10* Remove isInSystemHeader() from DiagClient, move it to SourceManagerNico Weber
2008-08-10Allow the preprocessor to cache the lexed tokens, so that we can do efficient...Argyrios Kyrtzidis
2008-07-10Add an accessor, patch by Csaba Hruska.Chris Lattner
2008-07-09Add Preprocessor::LookNext method, which implements an efficient way to 'take...Argyrios Kyrtzidis
2008-05-05Neil pointed out that clang doesn't generate ranges from diagnosticsChris Lattner
2008-04-19simplify ownership of the predefines buffer.Chris Lattner
2008-04-17class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ...Ted Kremenek
2008-04-17Added "PreprocessorFactory", an interface for lazily creating Preprocessor ob...Ted Kremenek
2008-03-14Make the preprocessor own its PPCallbacks, fixing a memory leak.Chris Lattner
2008-03-10implement simple support for arbitrary token lookahead. Change the Chris Lattner
2008-03-09rename HandleEndOfMacro -> HandleEndOfTokenLexerChris Lattner
2008-03-09rename some MacroExpander-related ivars to TokenLexer.Chris Lattner
2008-03-09Rename MacroExpander.cpp/h -> TokenLexer.cpp/hChris Lattner
2008-03-09rename the MacroExpander class to TokenLexer. It handles bothChris Lattner
2008-03-05Remove the first layer of support for "portability" warnings. This is Chris Lattner
2008-02-07Implement support for the extremely atrocious MS /##/ extension, Chris Lattner
2008-01-08readability improvement suggested by Sam Bishop, thanks!Chris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-12-19Interned MainFileID within SourceManager. Since SourceManager is referenced byTed Kremenek