aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)Author
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara
2011-09-19Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.Argyrios Kyrtzidis
2011-09-17Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear t...Francois Pichet
2011-08-24Silence 'may be used uninitialized' warnings.Argyrios Kyrtzidis
2011-08-23Amend r138129 (reduction of SLocEntries) which introduced performance regress...Argyrios Kyrtzidis
2011-08-23Introduce SourceManager::isInSLocAddrSpace and use it in TokenLexer instead o...Argyrios Kyrtzidis
2011-08-23Rename SourceManager::isBeforeInSourceLocationOffset -> isBeforeInSLocAddrSpace.Argyrios Kyrtzidis
2011-08-23TokenLexer::getExpansionLocForMacroDefLoc doesn't need to return an invalid S...Argyrios Kyrtzidis
2011-08-19For assigning SourceLocations to macro arg tokens, reserve a single SLocEntryArgyrios Kyrtzidis
2011-08-19Rename TokenLexer::getMacroExpansionLocation -> getExpansionLocForMacroDefLoc...Argyrios Kyrtzidis
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