[clang] Check for unsupported target options even with -Qunused-arguments (PR #141698)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Tue May 27 19:58:40 PDT 2025
================
@@ -27,3 +27,10 @@
// RUN: not %clang --target=x86_64 -### -mhtm -lc %s 2>&1 \
// RUN: | FileCheck %s -check-prefix=UNSUP_OPT
// UNSUP_OPT: error: unsupported option
+
+
+// RUN: not %clang -c --target=aarch64-- -mfpu=crypto-neon-fp-armv8 %s 2>&1 | \
----------------
MaskRay wrote:
This RUN line without -Qunused-arguments doesn't add test coverage. It can be removed
https://github.com/llvm/llvm-project/pull/141698
More information about the cfe-commits
mailing list