[all-commits] [llvm/llvm-project] a49fcc: [clang-tidy] Optionally ignore findings in macros ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a49fcca9e3ec9e310312416599405d26c189a81b
      https://github.com/llvm/llvm-project/commit/a49fcca9e3ec9e310312416599405d26c189a81b
  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/clang-tidy/readability/ConstReturnTypeCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/const-return-type.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type-macros.cpp
    M clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type.cpp

  Log Message:
  -----------
  [clang-tidy] Optionally ignore findings in macros in `readability-const-return-type`.

Adds support for options-controlled configuration of the check to ignore results in macros.

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




More information about the All-commits mailing list