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'
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'
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits