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

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 14 22:02:24 PDT 2022


njames93 requested changes to this revision.
njames93 added a comment.
This revision now requires changes to proceed.

Just address that test issue then it'll be good



================
Comment at: clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression.cpp:1
-// RUN: %check_clang_tidy %s misc-redundant-expression %t -- -- -fno-delayed-template-parsing
+// RUN: %check_clang_tidy %s misc-redundant-expression -std=c++20 %t -- -- -fno-delayed-template-parsing
 
----------------
This is removing test coverage for previous language versions unnecessarily. Can you create a new test file redundant-expression-cxx20 instead and move this new test case into there.


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