[all-commits] [llvm/llvm-project] b43c26: Restore GNU , ## __VA_ARGS__ behavior in MSVC mode
Harald van Dijk via All-commits
all-commits at lists.llvm.org
Mon Jan 25 14:39:52 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b43c26d036dcbf7a6881f39e4434cf059364022a
https://github.com/llvm/llvm-project/commit/b43c26d036dcbf7a6881f39e4434cf059364022a
Author: Harald van Dijk <harald at gigawatt.nl>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/lib/Lex/TokenLexer.cpp
M clang/test/Preprocessor/macro_fn_comma_swallow2.c
Log Message:
-----------
Restore GNU , ## __VA_ARGS__ behavior in MSVC mode
As noted in D91913, MSVC implements the GNU behavior for
, ## __VA_ARGS__ as well. Do the same when `-fms-compatibility` is used.
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D95392
More information about the All-commits
mailing list