Revert "[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implementation."
authorAlexander Kornienko <alexfh@google.com>
Sun, 23 Oct 2022 20:54:47 +0000 (22:54 +0200)
committerAlexander Kornienko <alexfh@google.com>
Sun, 23 Oct 2022 21:14:40 +0000 (23:14 +0200)
commite7656daea8724ba1bed6eb7a4dc96498ce7d06c5
tree6fce16b0d4a148d5c7aa4a677438813e81924d82
parente86161076e4a0633d7ab845037fe9443363a5a29
Revert "[Lex] Simplify and cleanup the updateConsecutiveMacroArgTokens implementation."

This reverts commit 74e4f778cf16cbf7163b5c6de6027a43f5e9169f, which caused a
~40% increase in SLoc address space utilization on certain cases. See
https://reviews.llvm.org/D136539#3877872.
clang/lib/Lex/TokenLexer.cpp