aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)Author
2011-07-27Change Preprocessor::getTotalMemory() to use llvm::capacity_in_bytes().Ted Kremenek
2011-07-26Report more memory using in Preprocessor::getTotalMemory() and PreprocessingR...Ted Kremenek
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-14Move the rest of the preprocessor terminology from 'instantiate' andChandler Carruth
2011-06-29Introduce a caching mechanism for macro expanded tokens.Argyrios Kyrtzidis
2011-06-29Introduce Preprocessor::getTotalMemory() and use it in CIndex.cpp, no functio...Argyrios Kyrtzidis
2011-05-06Introduce a new libclang parsing flag,Douglas Gregor
2011-04-28Parsing/AST support for Structured Exception HandlingJohn Wiegley
2011-03-08Fix my earlier commit to work with escaped newlines and leave breadcrumbsJohn McCall
2011-03-08Add an API call to retrieve the spelling data of a token from its SourceLocat...John McCall
2010-12-22Introduced raw_identifier token kind.Abramo Bagnara
2010-11-23now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner
2010-11-17move getSpelling from Preprocessor to Lexer, which it is more conceptually re...Chris Lattner
2010-11-17move AdvanceToTokenCharacter and getLocForEndOfToken fromChris Lattner
2010-11-17add a static version of PP::AdvanceToTokenCharacter.Chris Lattner
2010-11-17add a static form of the efficient PP::getSpelling method.Chris Lattner
2010-11-03Implement -working-directory.Argyrios Kyrtzidis
2010-10-19Really^2 fix <rdar://problem/8361834>, this time without crashing.Ted Kremenek
2010-10-19Simplify loop. No functionality change.Ted Kremenek
2010-10-19Simplify lifetime management of MacroInfo objects in Preprocessor by having t...Ted Kremenek
2010-10-19In ~Preprocessor(), also cleanup the MacroInfo objects left-over from stray "...Ted Kremenek
2010-09-03Use getSpelling to get original text of theFariborz Jahanian
2010-09-03Patch to allow alternative representation of c++Fariborz Jahanian
2010-08-30Revert my user-defined literal commits - r1124{58,60,67} pendingSean Hunt
2010-08-29Implement C++0x user-defined string literals.Sean Hunt
2010-08-26Tweak wording in an assertion, from dawn@burble.org.Douglas Gregor
2010-08-25Introduce a preprocessor code-completion hook for contexts where weDouglas Gregor
2010-08-24Introduce basic code-completion support for preprocessor directives,Douglas Gregor
2010-08-18no need to pass bumppointer allocator into macroinfo::destroyChris Lattner
2010-08-11Random temporary string cleanup.Benjamin Kramer
2010-07-26Introduce basic support for loading a precompiled preamble whileDouglas Gregor
2010-07-13Modify the pragma handlers to accept and use StringRefs instead of Identifier...Argyrios Kyrtzidis
2010-06-08Fix memory leak in Preprocessor where MacroInfo objects in the MICache wouldn...Ted Kremenek
2010-04-20push some source location information down through the compiler,Chris Lattner
2010-04-05Match MemoryBuffer API changes.Chris Lattner
2010-03-23PPCallbacks: Add hook for reaching the end of the main file, and fix Dependen...Daniel Dunbar
2010-03-19Make the preprocessing record a PPCallbacks subclass itself,Douglas Gregor
2010-03-19Optionally store a PreprocessingRecord in the preprocessor itself, andDouglas Gregor
2010-03-17Entering the main source file in the preprocessor can fail if theDouglas Gregor
2010-03-16Audit all callers of SourceManager::getCharacterData(); update some ofDouglas Gregor
2010-03-16Teach the one caller of SourceManager::getMemoryBufferForFile() to cope with ...Douglas Gregor
2010-03-16Introduce optional "Invalid" parameters to routines that invoke theDouglas Gregor
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam
2010-02-27Move method out-of-line. I thought this would be a candidate for inlining but...Benjamin Kramer
2010-02-27Add an overload of Preprocessor::getSpelling which takes a SmallVector andBenjamin Kramer
2010-01-29Fix subtle bug in Preprocessor::AdvanceToTokenCharacter(): use '+=' instead o...Ted Kremenek
2010-01-22Teach CIndex's cursor visitor to restrict its traversal to a specificDouglas Gregor
2010-01-18allow the HandlerComment callback to push tokens into theChris Lattner
2010-01-04Teach Preprocessor::macro_begin/macro_end to lazily load all macroDouglas Gregor