[PATCH] D122487: [ARM] Make testcase warning pattern match more specific

Ranjeet Singh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 25 08:58:27 PDT 2022


rs created this revision.
rs added reviewers: tstellar, lenary.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
rs requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122487

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


Index: clang/test/Driver/aarch64-security-options.c
===================================================================
--- clang/test/Driver/aarch64-security-options.c
+++ 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'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122487.418243.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220325/73b46864/attachment.bin>


More information about the cfe-commits mailing list