[clang] [libclang] Respect CL mode for injected arguments (PR #237563)
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 02:09:14 PST 2026
================
@@ -1,4 +1,5 @@
// RUN: c-index-test -test-load-source all %s 2>&1 | FileCheck %s
+// RUN: c-index-test -test-load-source all --driver-mode=cl --target=x86_64-pc-windows-msvc /WX /Tp%s 2>&1 | FileCheck %s
----------------
zmodem wrote:
Would adding `--` before the `%s` argument work as a solution to avoid the "looks like `/U`" problem? That's how the clang-cl driver tests do it.
https://github.com/llvm/llvm-project/pull/237563
More information about the cfe-commits
mailing list