llvm-project/clang-tools-extra/clang-tidy/tool
Nathan James abbe9e227e
[clang-tidy] Added command line option `fix-notes`
Added an option to control whether to apply the fixes found in notes attached to clang tidy errors or not.
Diagnostics may contain multiple notes each offering different ways to fix the issue, for that reason the default behaviour should be to not look at fixes found in notes.
Instead offer up all the available fix-its in the output but don't try to apply the first one unless `-fix-notes` is supplied.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D84924
2021-03-01 22:07:11 +00:00
..
CMakeLists.txt [clang-tidy] Install run-clang-tidy.py in bin/ as run-clang-tidy 2021-02-23 12:38:27 +00:00
ClangTidyMain.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
ClangTidyMain.h [clang-tidy] Add library for clang-tidy main function 2020-01-24 13:00:45 -08:00
ClangTidyToolMain.cpp [clang-tidy] Add library for clang-tidy main function 2020-01-24 13:00:45 -08:00
clang-tidy-diff.py add -use-color option to clang-tidy-diff.py 2021-02-18 09:12:48 -05:00
run-clang-tidy.py Use --use-color in run-clang-tidy.py 2020-11-02 08:38:20 -05:00