[all-commits] [llvm/llvm-project] f3afd1: [clang-tidy] Ignore overriden methods in `readabil...

Thomas Etter via All-commits all-commits at lists.llvm.org
Tue Nov 15 06:24:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3afd16b65ebda19e417120acf3c3793c171cf5e
      https://github.com/llvm/llvm-project/commit/f3afd16b65ebda19e417120acf3c3793c171cf5e
  Author: Thomas Etter <tetter at google.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type.cpp

  Log Message:
  -----------
  [clang-tidy] Ignore overriden methods in `readability-const-return-type`.

Overrides are constrained by the signature of the overridden method, so a
warning on an override is frequently unactionable.

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




More information about the All-commits mailing list