aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)AuthorFilesLines
2023-02-22[Lex] Fix a crash in updateConsecutiveMacroArgTokens.Haojian Wu1-2/+10
2023-02-17[Clang] Fix __VA_OPT__ implementation so that it treats the concatenation of ...Shafik Yaghmour1-3/+2
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-1/+1
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata1-0/+1
2023-01-09Move from llvm::makeArrayRef to ArrayRef deduction guides - clang/ partserge-sans-paille1-2/+2
2022-10-26[Lex] Bring back the magic number 50 in updateConsecutiveMacroArgTokens.Haojian Wu1-50/+57
2022-10-23Revert "[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implem...Alexander Kornienko1-42/+46
2022-10-23Revert "[TokenLexer][NFC] Rename the InstLoc to ExpandLoc"Alexander Kornienko1-5/+5
2022-10-11[TokenLexer][NFC] Rename the InstLoc to ExpandLocHaojian Wu1-5/+5
2022-10-07[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implementation.Haojian Wu1-46/+42
2022-06-20[clang] Don't use Optional::hasValue (NFC)Kazu Hirata1-1/+1
2021-12-17[clang] Use llvm::reverse (NFC)Kazu Hirata1-3/+1
2021-07-21[clang] Introduce SourceLocation::[U]IntTy typedefs.Simon Tatham1-5/+6
2021-01-27Revert "Suppress non-conforming GNU paste extension in all standard-conformin...Reid Kleckner1-5/+5
2021-01-25Restore GNU , ## __VA_ARGS__ behavior in MSVC modeHarald van Dijk1-1/+2
2021-01-25Suppress non-conforming GNU paste extension in all standard-conforming modesHarald van Dijk1-5/+4
2019-07-30Remove cache for macro arg stringizationReid Kleckner1-12/+4
2019-05-17[Lex] Allow to consume tokens while preprocessingIlya Biryukov1-1/+7
2019-05-04[c++20] Implement tweaked __VA_OPT__ rules from P1042R1:Richard Smith1-5/+47
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-10/+10
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl1-4/+4
2018-04-30PR37189 Fix incorrect end source location and spelling for a split '>>' token.Richard Smith1-2/+2
2018-04-06Fix typos in clangAlexander Kornienko1-1/+1
2017-12-08[Lex] Fix some Clang-tidy modernize and Include What You Use warnings; other ...Eugene Zelenko1-4/+14
2017-10-15[Lex] Remove unused variables. No functionality change.Benjamin Kramer1-6/+0
2017-10-15[c++2a] Implement P0306 __VA_OPT__ (Comma omission and comma deletion)Faisal Vali1-7/+166
2017-10-12Fix warnings. [-Wdocumentation]NAKAMURA Takumi1-2/+1
2017-10-03Add parens around the boolean condition of one of the added asserts in r31474...Faisal Vali1-2/+2
2017-10-03Remove an assertion I added from the refactoring of pasteTokens (https://revi...Faisal Vali1-4/+0
2017-10-03[NFC] Refactor PasteTokens so that it can be passed the Token Stream and Inde...Faisal Vali1-38/+58
2017-09-30[NFC] Remove superfluous parameter Faisal Vali1-1/+1
2017-07-20[NFC] Update local variable names to upper-case as per LLVM Coding Standards.Faisal Vali1-9/+9
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-6/+6
2017-07-17Revert changes from my previous refactoring - will need to fix dependencies i...Faisal Vali1-6/+6
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-6/+6
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