[all-commits] [llvm/llvm-project] d6d59e: [Clang] Fix __VA_OPT__ implementation so that it t...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Fri Feb 17 14:58:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d6d59e660bc75d14f423fb3817834f832bbf4543
https://github.com/llvm/llvm-project/commit/d6d59e660bc75d14f423fb3817834f832bbf4543
Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Lex/TokenLexer.cpp
M clang/test/Preprocessor/macro_vaopt_p1042r1.cpp
Log Message:
-----------
[Clang] Fix __VA_OPT__ implementation so that it treats the concatenation of a non-placemaker token and placemaker token as a non-placemaker token
Currently the implementation of __VA_OPT__ will treat the concatenation of a
non-placemaker token and placemaker token as a placemaker token which is not
correct. This will fix the implementation and treat the result as a
non-placemaker token.
This fixes: https://github.com/llvm/llvm-project/issues/60268
Differential Revision: https://reviews.llvm.org/D142604
More information about the All-commits
mailing list