summaryrefslogtreecommitdiff
path: root/clang/lib/Lex/TokenLexer.cpp
AgeCommit message (Expand)Author
2025-06-25[Clang][Preprocessor] Expand UCNs in macro concatenation (#145351)yronglin
2025-06-24[clang][Preprocessor] Add peekNextPPToken, makes look ahead next token withou...yronglin
2024-11-16[Lex] Remove unused includes (NFC) (#116460)Kazu Hirata
2023-02-22[Lex] Fix a crash in updateConsecutiveMacroArgTokens.Haojian Wu
2023-02-17[Clang] Fix __VA_OPT__ implementation so that it treats the concatenation of ...Shafik Yaghmour
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata
2023-01-09Move from llvm::makeArrayRef to ArrayRef deduction guides - clang/ partserge-sans-paille
2022-10-26[Lex] Bring back the magic number 50 in updateConsecutiveMacroArgTokens.Haojian Wu
2022-10-23Revert "[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implem...Alexander Kornienko
2022-10-23Revert "[TokenLexer][NFC] Rename the InstLoc to ExpandLoc"Alexander Kornienko
2022-10-11[TokenLexer][NFC] Rename the InstLoc to ExpandLocHaojian Wu
2022-10-07[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implementation.Haojian Wu
2022-06-20[clang] Don't use Optional::hasValue (NFC)Kazu Hirata
2021-12-17[clang] Use llvm::reverse (NFC)Kazu Hirata
2021-07-21[clang] Introduce SourceLocation::[U]IntTy typedefs.Simon Tatham
2021-01-27Revert "Suppress non-conforming GNU paste extension in all standard-conformin...Reid Kleckner
2021-01-25Restore GNU , ## __VA_ARGS__ behavior in MSVC modeHarald van Dijk
2021-01-25Suppress non-conforming GNU paste extension in all standard-conforming modesHarald van Dijk
2019-07-30Remove cache for macro arg stringizationReid Kleckner
2019-05-17[Lex] Allow to consume tokens while preprocessingIlya Biryukov
2019-05-04[c++20] Implement tweaked __VA_OPT__ rules from P1042R1:Richard Smith
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2018-07-30Remove trailing spaceFangrui Song
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl
2018-04-30PR37189 Fix incorrect end source location and spelling for a split '>>' token.Richard Smith
2018-04-06Fix typos in clangAlexander Kornienko
2017-12-08[Lex] Fix some Clang-tidy modernize and Include What You Use warnings; other ...Eugene Zelenko
2017-10-15[Lex] Remove unused variables. No functionality change.Benjamin Kramer
2017-10-15[c++2a] Implement P0306 __VA_OPT__ (Comma omission and comma deletion)Faisal Vali
2017-10-12Fix warnings. [-Wdocumentation]NAKAMURA Takumi
2017-10-03Add parens around the boolean condition of one of the added asserts in r31474...Faisal Vali
2017-10-03Remove an assertion I added from the refactoring of pasteTokens (https://revi...Faisal Vali
2017-10-03[NFC] Refactor PasteTokens so that it can be passed the Token Stream and Inde...Faisal Vali
2017-09-30[NFC] Remove superfluous parameter Faisal Vali
2017-07-20[NFC] Update local variable names to upper-case as per LLVM Coding Standards.Faisal Vali
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali
2017-07-17Revert changes from my previous refactoring - will need to fix dependencies i...Faisal Vali
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali
2017-05-04Fix whitespace before token-paste of an argument.James Y Knight
2016-10-26[PP] Replace some index based for loops with range based onesErik Verbruggen
2016-07-07[Lex] Speed up updateConsecutiveMacroArgTokens (NFC)Vedant Kumar
2016-05-19[Lexer] Don't merge macro args from different macro filesVedant Kumar
2016-02-12Fix remaining Clang-tidy readability-redundant-control-flow warnings; other m...Eugene Zelenko
2016-01-22[MSVC Compat] Accept elided commas in macro function argumentsEhsan Akhgari
2016-01-15When copying whitespace flags from the token naming a macro argument onto theRichard Smith
2015-12-29Emit a -Wmicrosoft warning when pasting /##/ into a comment token in MS mode.Nico Weber
2015-06-18[clang] Refactoring of conditions so they use isOneOf() instead of multiple i...Daniel Marjamaki
2015-04-17[MSVC] Mimic MSVC whitespace collapse for incompatible token pastingWill Wilson
2015-03-18Remove many superfluous SmallString::str() calls.Yaron Keren