Almost all code review comments on new checkers D55433: [clang-tidy] Adding a new modernize use nodiscard checker D48866: [clang-tidy] Add incorrect-pointer-cast checker D54349: [clang-tidy] new check 'readability-redundant-preprocessor' seem to ask for the release notes to be added alphabetically, plus I've seen commits by @Eugene.Zelenko reordering the lists
Make add_new_check.py add those release notes alphabetically based on checker name
If include-fixer section is seen add it at the end
Minor change in the message format to prevent double newlines added before the checker.
Do the tools themselves have unit tests? (sorry new to this game)
- Tested adding new checker at the beginning
- Tested on adding new checker in the middle
- Tested on empty ReleasesNotes.rst (as we would see after RC)
I think it would be better to compile the regular expression and match with the compiled version.