Adds support for options-controlled configuration of the check to ignore results in macros.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137972
[clang-tidy] Optionally ignore findings in macros in `readability-const-return-type`. ClosedPublic Authored by ymandel on Nov 14 2022, 11:31 AM.
Details Summary Adds support for options-controlled configuration of the check to ignore results in macros.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 14 2022, 2:20 PM Closed by commit rGa49fcca9e3ec: [clang-tidy] Optionally ignore findings in macros in `readability-const-return… (authored by thomasetter, committed by ymandel). · Explain WhyNov 15 2022, 6:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 475448 clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.h
clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
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
|