[clang] [clang][clang-cl] Add -fms-preprocessor-compat and support /Zc:preprocessor (PR #167200)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 3 06:23:03 PST 2026
================
@@ -269,6 +269,7 @@ LANGOPT(HIPStdParInterposeAlloc, 1, 0, NotCompatible, "Replace allocations / dea
LANGOPT(OpenACC , 1, 0, NotCompatible, "OpenACC Enabled")
+LANGOPT(MSVCPreprocessor , 1, 0, NotCompatible, "Fully emulate the Microsoft Visual C++ traditional (non-conforming) preprocessor")
----------------
cor3ntin wrote:
```suggestion
LANGOPT(MSVCPreprocessor , 1, 0, NotCompatible, "Emulate the Microsoft Visual C++ traditional (non-conforming) preprocessor")
```
https://github.com/llvm/llvm-project/pull/167200
More information about the cfe-commits
mailing list