[PATCH] D137972: [clang-tidy] Optionally ignore findings in macros in `readability-const-return-type`.
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 11:31:09 PST 2022
ymandel created this revision.
ymandel added reviewers: njames93, thomasetter.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang-tools-extra.
Adds support for options-controlled configuration of the check to ignore results in macros.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137972
Files:
clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/readability/const-return-type.rst
clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type-macros.cpp
clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137972.475226.patch
Type: text/x-patch
Size: 5794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221114/7c2e4f7e/attachment.bin>
More information about the cfe-commits
mailing list