[all-commits] [llvm/llvm-project] 56c497: [Driver, test] Replace CHECK-NOT: warning with -###...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Apr 26 11:59:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56c4971d33230607a7329bb831b6c8588231e872
https://github.com/llvm/llvm-project/commit/56c4971d33230607a7329bb831b6c8588231e872
Author: Fangrui Song <i at maskray.me>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
R clang/test/Driver/claim-unused.c
M clang/test/Driver/fp-model.c
A clang/test/Driver/gcc-param.c
M clang/test/Driver/linux-ld.c
Log Message:
-----------
[Driver,test] Replace CHECK-NOT: warning with -### -Werror
After https://reviews.llvm.org/D156363 changed -### to exist with code 1
if hasErrorOccurred, we can use -Werror to assert no warnings. This is
more reliable than a NOT pattern, which may go stale (when the
diagnostic is updated) without being noticed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list