aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)Author
2013-05-03[Preprocessor] For the MacroExpands preprocessor callback, also pass the Macr...Argyrios Kyrtzidis
2012-12-19[preprocessor] When "merging" macro argument tokens into one SLocEntry chunk,Argyrios Kyrtzidis
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth
2012-12-01Try to make the source location information for token pastes a bit more consi...Eli Friedman
2012-11-09Improved support for removing the comma preceding __VA_ARGS__ where __VA_ARGS__Andy Gibbs
2012-09-26Revert r163022, it caused PR13924.Nico Weber
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko
2012-08-31Emulate MSVC's preprocessor macro argument separator behavior by not consider...Joao Matos
2012-08-30Make preprocessor act in a GCC-compatible fashion when a macro is redefinedRichard Smith
2012-07-23Fix a typo (the the => the)Sylvestre Ledru
2012-06-22Minor improvements to some C99 variadic-macro-related diagnostics.Richard Smith
2012-06-13Fix issue where a token paste which forms a /* or // would discard the rest ofRichard Smith
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie
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