[all-commits] [llvm/llvm-project] 822c27: [clang-cl] Ignore #pragma managed/unmanaged
sylvain-audi via All-commits
all-commits at lists.llvm.org
Mon Dec 12 07:01:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 822c274477ea2f194b4e3f2a38fdb3d3ba8ea611
https://github.com/llvm/llvm-project/commit/822c274477ea2f194b4e3f2a38fdb3d3ba8ea611
Author: Sylvain Audi <sylvain.audi at ubisoft.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M clang/lib/Lex/Pragma.cpp
M clang/test/Preprocessor/pragma_microsoft.c
Log Message:
-----------
[clang-cl] Ignore #pragma managed/unmanaged
Those 2 pragmas are ignored by MSVC when not compiling with /CLR, which clang doesn't support.
Ignore them in clang -fms-extensions, to avoid -Wunknown-pragma warnings
Differential Revision: https://reviews.llvm.org/D139632
More information about the All-commits
mailing list