[clang] [clang-cl][flang][dxc] Fix opts exposed to clang-cl/dxc by mistake (PR #118640)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 09:58:21 PST 2024


================
@@ -0,0 +1,53 @@
+// RUN: %clang_cl                  \
+// RUN: --config                   \
+// RUN: -fdiagnostics-color=auto   \
+// RUN: -fno-record-command-line   \
+// RUN: -frecord-command-line      \
+// RUN: -nodefaultlibs             \
+// RUN: -nostdlib                  \
+// RUN: -rpath                     \
+// RUN: -shared                    \
+// RUN: -static                    \
+// RUN: -stdlib                    \
+// RUN: -Xoffload-linker           \
+// RUN: -### -x c++ -c - < /dev/null 2>&1 | FileCheck %s --check-prefix=CL
----------------
MaskRay wrote:

need --implicit-check-not=warning:

https://github.com/llvm/llvm-project/pull/118640


More information about the cfe-commits mailing list