[PATCH] D122078: [clang-tidy] Ignore concepts in `misc-redundant-expression`

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 19 13:17:01 PDT 2022


Izaron created this revision.
Izaron added reviewers: hokein, njames93, aaron.ballman.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
Izaron requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

The checker should ignore requirement expressions inside concept
definitions, because redundant expressions still make sense here

Fixes https://github.com/llvm/llvm-project/issues/54114


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122078

Files:
  clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/misc-redundant-expression.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122078.416722.patch
Type: text/x-patch
Size: 7127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220319/9075caa8/attachment.bin>


More information about the cfe-commits mailing list