[clang] 145f144 - [clang][test] Don't use driver in microsoft-constexpr test (#218426)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 21:20:53 PDT 2026
Author: Timm Baeder
Date: 2026-08-25T06:20:48+02:00
New Revision: 145f1447c173cdbd3898ee6cdf46859430098366
URL: https://github.com/llvm/llvm-project/commit/145f1447c173cdbd3898ee6cdf46859430098366
DIFF: https://github.com/llvm/llvm-project/commit/145f1447c173cdbd3898ee6cdf46859430098366.diff
LOG: [clang][test] Don't use driver in microsoft-constexpr test (#218426)
No reason to use the driver here.
Added:
Modified:
clang/test/SemaCXX/microsoft-constexpr.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaCXX/microsoft-constexpr.cpp b/clang/test/SemaCXX/microsoft-constexpr.cpp
index 9709db58b4e64..971afeb5a612f 100644
--- a/clang/test/SemaCXX/microsoft-constexpr.cpp
+++ b/clang/test/SemaCXX/microsoft-constexpr.cpp
@@ -1,7 +1,7 @@
// Some of this should fail in MSVC, but work in clang
// when -fms-compatibility is enabled.
-// RUN: %clang -fsyntax-only -fms-compatibility -std=c++20 %s
-// RUN: %clang -fsyntax-only -fms-compatibility -std=c++20 -fexperimental-new-constant-interpreter %s
+// RUN: %clang_cc1 -fsyntax-only -fms-compatibility -std=c++20 %s
+// RUN: %clang_cc1 -fsyntax-only -fms-compatibility -std=c++20 -fexperimental-new-constant-interpreter %s
typedef long LONG;
typedef __int64 LONG_PTR, *PLONG_PTR;
More information about the cfe-commits
mailing list