aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-12-01Try to make the source location information for token pastes a bit more consi...Eli Friedman1-0/+6
2012-11-09Improved support for removing the comma preceding __VA_ARGS__ where __VA_ARGS__Andy Gibbs1-17/+64
2012-09-26Revert r163022, it caused PR13924.Nico Weber1-6/+0
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko1-1/+1
2012-08-31Emulate MSVC's preprocessor macro argument separator behavior by not consider...Joao Matos1-0/+6
2012-08-30Make preprocessor act in a GCC-compatible fashion when a macro is redefinedRichard Smith1-2/+3
2012-07-23Fix a typo (the the => the)Sylvestre Ledru1-1/+1
2012-06-22Minor improvements to some C99 variadic-macro-related diagnostics.Richard Smith1-3/+3
2012-06-13Fix issue where a token paste which forms a /* or // would discard the rest ofRichard Smith1-2/+2
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie1-4/+4
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith1-1/+1
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer1-1/+1
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara1-8/+18
2011-09-19Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.Argyrios Kyrtzidis1-2/+2
2011-09-17Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear t...Francois Pichet1-3/+3
2011-08-24Silence 'may be used uninitialized' warnings.Argyrios Kyrtzidis1-2/+2
2011-08-23Amend r138129 (reduction of SLocEntries) which introduced performance regress...Argyrios Kyrtzidis1-18/+46
2011-08-23Introduce SourceManager::isInSLocAddrSpace and use it in TokenLexer instead o...Argyrios Kyrtzidis1-12/+9
2011-08-23Rename SourceManager::isBeforeInSourceLocationOffset -> isBeforeInSLocAddrSpace.Argyrios Kyrtzidis1-2/+1
2011-08-23TokenLexer::getExpansionLocForMacroDefLoc doesn't need to return an invalid S...Argyrios Kyrtzidis1-29/+16
2011-08-19For assigning SourceLocations to macro arg tokens, reserve a single SLocEntryArgyrios Kyrtzidis1-22/+69
2011-08-19Rename TokenLexer::getMacroExpansionLocation -> getExpansionLocForMacroDefLoc...Argyrios Kyrtzidis1-8/+10
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth1-20/+19
2011-07-25Mechanically rename SourceManager::getInstantiationLoc andChandler Carruth1-1/+1
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-1/+1
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor1-1/+1
2011-07-14Switch the TokenLexer's terminology from various forms of 'instantiate'Chandler Carruth1-21/+21
2011-07-08Tweak formatting.Chandler Carruth1-1/+1
2011-07-08Switch the token-paste source locations inside of function style macroChandler Carruth1-3/+3
2011-07-07Keep track of which source locations are part of a macro argumentChandler Carruth1-3/+3
2011-07-07Turn hashhash into tok::unkwown when it comes from expanding an argument, per...Argyrios Kyrtzidis1-8/+19
2011-07-07When expanding macro arguments, treat '##' coming from an argument as a norma...Argyrios Kyrtzidis1-5/+12
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis1-10/+119
2011-06-29Introduce a caching mechanism for macro expanded tokens.Argyrios Kyrtzidis1-9/+5
2011-06-14revert r133003 and fix the bug properly: the issue was that ## in a tokenChris Lattner1-5/+5
2011-06-14Fix a crash on the testcase in PR9981 / rdar://9486765.Chris Lattner1-3/+4
2011-04-28Parsing/AST support for Structured Exception HandlingJohn Wiegley1-5/+1
2011-02-28Rename tok::eom to tok::eod.Peter Collingbourne1-1/+1
2011-02-22Make TokenLexer capable of storing preprocessor directive tokensPeter Collingbourne1-0/+5
2010-12-22Introduced raw_identifier token kind.Abramo Bagnara1-4/+5
2010-10-30Rename alignof -> alignOf to avoid irritating C++'0x compilers,Chris Lattner1-1/+1
2010-08-21fix PR7943, a corner case with the GNU __VA_ARGS__ comma Chris Lattner1-0/+7
2010-08-11Random temporary string cleanup.Benjamin Kramer1-1/+1
2010-07-17Add another terrible VC++ compatibility hack: allow users toChris Lattner1-2/+7
2010-03-16Audit all Preprocessor::getSpelling() callers, improving failureDouglas Gregor1-3/+8
2010-03-16Let SourceManager::getBufferData return StringRef instead of a pair of two co...Benjamin Kramer1-1/+1
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor1-2/+3
2010-03-15Introduce a new BufferResult class to act as the return type ofDouglas Gregor1-1/+4
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam1-1/+1
2010-03-13No need to call setIdentifierInfo() after LookUpIdentifierInfo() which LookUp...Kovarththanan Rajaratnam1-3/+2