[PATCH] D122078: [clang-tidy] Ignore concepts in `misc-redundant-expression`
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 17 06:32:59 PDT 2022
njames93 added a comment.
In D122078#3797519 <https://reviews.llvm.org/D122078#3797519>, @Izaron wrote:
> The new file was failing with message
>
> CHECK-FIXES, CHECK-MESSAGES or CHECK-NOTES not found in the input
>
> So I had to add an additional urrelevant check.
> I added a check for consteval function (there were no such tests previously).
You don't need the unrelated tests, you can use a special run line that will check that no warnings are emitted.
`// RUN: clang-tidy %s --checks=-*,misc-redundant-expression -- | count 0`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122078/new/
https://reviews.llvm.org/D122078
More information about the cfe-commits
mailing list