[lldb] [clang-tools-extra] [libcxx] [lld] [clang] [libc] [llvm] [compiler-rt] [flang] Make clang report invalid target versions for all environment types. (PR #78655)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 10:29:38 PST 2024


================
@@ -400,12 +400,12 @@
 // LONG-CALLS-DEF-NOT: "long-calls"
 //
 // -mbranch-likely
-// RUN: %clang -target -mips-mti-linux-gnu -### -c %s -mbranch-likely 2>&1 \
+// RUN: %clang -target mips-mti-linux-gnu -### -c %s -mbranch-likely 2>&1 \
----------------
MaskRay wrote:

while updating, switching to `--target=`. `-target ` has been deprecated since Clang 3.4

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


More information about the cfe-commits mailing list