aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)Author
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth
2011-07-25Mechanically rename SourceManager::getInstantiationLoc andChandler Carruth
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor
2011-07-14Switch the TokenLexer's terminology from various forms of 'instantiate'Chandler Carruth
2011-07-08Tweak formatting.Chandler Carruth
2011-07-08Switch the token-paste source locations inside of function style macroChandler Carruth
2011-07-07Keep track of which source locations are part of a macro argumentChandler Carruth
2011-07-07Turn hashhash into tok::unkwown when it comes from expanding an argument, per...Argyrios Kyrtzidis
2011-07-07When expanding macro arguments, treat '##' coming from an argument as a norma...Argyrios Kyrtzidis
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis
2011-06-29Introduce a caching mechanism for macro expanded tokens.Argyrios Kyrtzidis
2011-06-14revert r133003 and fix the bug properly: the issue was that ## in a tokenChris Lattner
2011-06-14Fix a crash on the testcase in PR9981 / rdar://9486765.Chris Lattner
2011-04-28Parsing/AST support for Structured Exception HandlingJohn Wiegley
2011-02-28Rename tok::eom to tok::eod.Peter Collingbourne
2011-02-22Make TokenLexer capable of storing preprocessor directive tokensPeter Collingbourne
2010-12-22Introduced raw_identifier token kind.Abramo Bagnara
2010-10-30Rename alignof -> alignOf to avoid irritating C++'0x compilers,Chris Lattner
2010-08-21fix PR7943, a corner case with the GNU __VA_ARGS__ comma Chris Lattner
2010-08-11Random temporary string cleanup.Benjamin Kramer
2010-07-17Add another terrible VC++ compatibility hack: allow users toChris Lattner
2010-03-16Audit all Preprocessor::getSpelling() callers, improving failureDouglas Gregor
2010-03-16Let SourceManager::getBufferData return StringRef instead of a pair of two co...Benjamin Kramer
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor
2010-03-15Introduce a new BufferResult class to act as the return type ofDouglas Gregor
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam
2010-03-13No need to call setIdentifierInfo() after LookUpIdentifierInfo() which LookUp...Kovarththanan Rajaratnam
2009-12-28The PreExpArgTokens array is indexed with an argument #,Chris Lattner
2009-12-23comment tweakChris Lattner
2009-12-14move the VarargsElided member of MacrosArgs to shrink the MacroArgs structChris Lattner
2009-12-04minor tidy.Chris Lattner
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
2009-05-28fix the "pasting formed 'a]', an invalid preprocessing token"Chris Lattner
2009-05-27Make the bad paste diagnostic print the entire pasted token.Eli Friedman
2009-05-25improve comment, no functionality change.Chris Lattner
2009-05-24Make sure an invalid concatentaion doesn't insert whitespace before Eli Friedman
2009-05-22The TokenLexer may encounter annotations if the parser enters them using Prep...Argyrios Kyrtzidis
2009-05-03Fix for PR4132: make sure to insert whitespace consistently before a Eli Friedman
2009-04-25Silence gcc warnings.Eli Friedman
2009-04-19move token paste poisoning diagnostics to after the instantiation locChris Lattner
2009-04-19Fix PR3918: Invalid use of __VA_ARGS__ not diagnosed,Chris Lattner
2009-03-23The individual pieces of an invalid paste as still candidates for expansion.Chris Lattner
2009-03-18constructs like:Chris Lattner
2009-03-08simplify some logic by making ScratchBuffer handle the application of trailingChris Lattner
2009-03-04make the token lexer allocate its temporary token buffers forChris Lattner
2009-02-15track "just a little more" location information for macro instantiations.Chris Lattner
2009-01-29move library-specific diagnostic headers into library private dirs. ReduceChris Lattner
2009-01-27Split the single monolithic DiagnosticKinds.def file into oneChris Lattner
2009-01-26remove my hacks that aggressively threw away multiple Chris Lattner