[clang] [clang] Add /Zc:__STDC__ flag to clang-cl (PR #68690)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 18:43:13 PST 2024
================
@@ -123,6 +123,15 @@
// CHECK-CHAR8_T_: "-fno-char8_t"
+// RUN: %clang_cl /TC /dev/null /E -Xclang -dM 2> /dev/null | FileCheck -match-full-lines %s --check-prefix=NOSTDC
----------------
MaskRay wrote:
Driver tests usually only do `-###` and check the generated cc1 options. This command runs the preprocessor, which can be moved to clang/test/Preprocessor using `%clang_cc1`
https://github.com/llvm/llvm-project/pull/68690
More information about the cfe-commits
mailing list