[clang] 4df69c1 - [ARM] Make testcase warning pattern match more specific

Ranjeet Singh via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 28 06:44:51 PDT 2022


Author: Ranjeet Singh
Date: 2022-03-28T14:44:15+01:00
New Revision: 4df69c1ff19f75e302cfc3e022009fe971fc5c24

URL: https://github.com/llvm/llvm-project/commit/4df69c1ff19f75e302cfc3e022009fe971fc5c24
DIFF: https://github.com/llvm/llvm-project/commit/4df69c1ff19f75e302cfc3e022009fe971fc5c24.diff

LOG: [ARM] Make testcase warning pattern match more specific

Make the warning more specific as downstream compilers could produce other warnings.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D122487

Added: 
    

Modified: 
    clang/test/Driver/aarch64-security-options.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/aarch64-security-options.c b/clang/test/Driver/aarch64-security-options.c
index 4bd73e06d255a..b4bb57e71aa79 100644
--- a/clang/test/Driver/aarch64-security-options.c
+++ b/clang/test/Driver/aarch64-security-options.c
@@ -52,4 +52,4 @@
 
 // Check that the linker driver doesn't warn about -mbranch-protection=standard
 // as an unused option.
-// LINKER-DRIVER-NOT: warning:
+// LINKER-DRIVER-NOT: warning: argument unused during compilation: '-mbranch-protection=standard'


        


More information about the cfe-commits mailing list