aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-05-04Fix whitespace before token-paste of an argument.James Y Knight1-12/+18
2016-10-26[PP] Replace some index based for loops with range based onesErik Verbruggen1-6/+5
2016-07-07[Lex] Speed up updateConsecutiveMacroArgTokens (NFC)Vedant Kumar1-3/+4
2016-05-19[Lexer] Don't merge macro args from different macro filesVedant Kumar1-0/+3
2016-02-12Fix remaining Clang-tidy readability-redundant-control-flow warnings; other m...Eugene Zelenko1-7/+1
2016-01-22[MSVC Compat] Accept elided commas in macro function argumentsEhsan Akhgari1-6/+11
2016-01-15When copying whitespace flags from the token naming a macro argument onto theRichard Smith1-0/+1
2015-12-29Emit a -Wmicrosoft warning when pasting /##/ into a comment token in MS mode.Nico Weber1-7/+10
2015-06-18[clang] Refactoring of conditions so they use isOneOf() instead of multiple i...Daniel Marjamaki1-1/+1
2015-04-17[MSVC] Mimic MSVC whitespace collapse for incompatible token pastingWill Wilson1-0/+7
2015-03-18Remove many superfluous SmallString::str() calls.Yaron Keren1-1/+1
2014-12-15MSVC: A wide string literal from L#macro_arg in a macroAlexey Bataev1-3/+19
2014-10-25Lex: Fix an invalid access into a SmallStringDavid Majnemer1-3/+4
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper1-5/+5
2014-05-09Wrap to 80 columns, no code change.Nico Weber1-4/+3
2014-02-24If the first token in a macro that appears at the start of a line expands toRichard Smith1-0/+1
2014-02-18Fix a non-error diagnostic that had an err_ name. Also move it from Warning toRichard Smith1-5/+4
2014-02-04Clean up whitespace checksJustin Bogner1-11/+5
2014-02-04Fix whitespace handling in empty macro expansionsJustin Bogner1-2/+6
2014-02-04Fix whitespace handling in empty macro argumentsJustin Bogner1-18/+13
2014-02-04Fix whitespace handling in ## operatorJustin Bogner1-13/+16
2014-01-14Rename language option MicrosoftMode to MSVCCompatAlp Toker1-2/+2
2014-01-07Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth1-1/+1
2013-09-19Make Preprocessor::Lex non-recursive.Eli Friedman1-12/+17
2013-08-23Use pop_back_val() instead of both back() and pop_back().Robert Wilhelm1-4/+2
2013-07-05Use SmallVectorImpl& for function arguments instead of SmallVector.Craig Topper1-1/+1
2013-06-26Match MSVC's handling of commas during macro argument expansionReid Kleckner1-0/+8
2013-05-25[Preprocessor] Prevent expansion of y in x ## y when x is emptyArgyrios Kyrtzidis1-7/+13
2013-05-03[Preprocessor] For the MacroExpands preprocessor callback, also pass the Macr...Argyrios Kyrtzidis1-1/+1
2012-12-19[preprocessor] When "merging" macro argument tokens into one SLocEntry chunk,Argyrios Kyrtzidis1-2/+6
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-2/+2
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