This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Add an IgnoreMacros option to readability-avoid-const-params-in-decls
ClosedPublic

Authored by thomasetter on Jul 19 2022, 4:01 PM.

Details

Summary

readability-avoid-const-params-in-decls.IgnoreMacros is enabled by default to be consistent with most other checks.

Diff Detail

Event Timeline

thomasetter created this revision.Jul 19 2022, 4:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2022, 4:01 PM
thomasetter requested review of this revision.Jul 19 2022, 4:01 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Please mention changes in Release Notes.

Please can you upload your diff with full context(or use arcanist which does it for you).

Please can you upload your diff with full context(or use arcanist which does it for you).

Sorry about that, should be fixed now

Added a description to the release notes

Eugene.Zelenko added inline comments.Aug 3 2022, 6:42 AM
clang-tools-extra/docs/ReleaseNotes.rst
99

Please move it to Changes in existing checks section.

thomasetter marked an inline comment as done.

Is there anything else you would like me to change?

ymandel accepted this revision.Sep 30 2022, 5:39 AM
ymandel added inline comments.
clang-tools-extra/docs/ReleaseNotes.rst
119–122
This revision is now accepted and ready to land.Sep 30 2022, 5:39 AM

Could you please rebase from main and upload patch here before commit?

Thank you! Just wanted to ensure alphabetical order in Changes in existing checks :-) Fine to merge.

Applied review changes

thomasetter marked an inline comment as done.Sep 30 2022, 6:45 AM

Thanks for the review!

Note: fixed typo in doc in followup commit 40f5c634bc991510427e274ba49d4c56f29ef593.