[all-commits] [llvm/llvm-project] a8fbd1: [clang-tidy] Ignore concepts in `misc-redundant-ex...

Evgeny Shulgin via All-commits all-commits at lists.llvm.org
Sat Oct 8 03:37:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8fbd1157debfe5872d4a34babef3aab75732aa7
      https://github.com/llvm/llvm-project/commit/a8fbd1157debfe5872d4a34babef3aab75732aa7
  Author: Evgeny Shulgin <izaronplatz at gmail.com>
  Date:   2022-10-08 (Sat, 08 Oct 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore concepts in `misc-redundant-expression`

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

Reviewed By: njames93, aaron.ballman

Differential Revision: https://reviews.llvm.org/D122078




More information about the All-commits mailing list