llvm-project/clang-tools-extra/test/clang-tidy/infrastructure
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
..
Inputs [clang-tidy] adding "--config-file=<file-path>" to specify custom config file. 2020-11-03 11:59:46 +00:00
alternative-fixes.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
basic.cpp Unbreak clang-tidy tests after D79599 / e9b4113902. 2020-05-08 12:37:33 -04:00
check_clang_tidy.cpp
clang-tidy-__clang_analyzer__macro.cpp
clang-tidy-diff.cpp
clang-tidy-enable-check-profile-one-tu.cpp
clang-tidy-enable-check-profile-two-tu.cpp
clang-tidy-mac-libcxx.cpp
clang-tidy-run-with-database.cpp
clang-tidy-store-check-profile-one-tu.cpp [Timer] On macOS count number of executed instructions 2021-02-11 17:26:37 +01:00
clean-up-code.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
config-file.cpp [clang-tidy] adding "--config-file=<file-path>" to specify custom config file. 2020-11-03 11:59:46 +00:00
config-files.cpp [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap 2020-07-30 10:31:13 +01:00
custom-diagnostics.cpp
deduplication.cpp
diagnostic.cpp
duplicate-conflicted-fixes-of-alias-checkers.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
duplicate-fixes-of-alias-checkers.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
duplicate-reports.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
empty-database.cpp Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
enable-alpha-checks.cpp
expand-modular-headers-ppcallbacks.cpp
explain-checks.cpp
export-diagnostics.cpp [clang-tidy] Add diagnostics level to YAML output 2020-06-15 07:40:53 -07:00
export-relpath.cpp
extra-args.cpp
file-filter-symlinks.cpp
file-filter.cpp
fix-errors.cpp
fix.cpp
invalid-command-line.cpp [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
line-filter.cpp
list-checks.cpp
macros.cpp
nolint.cpp
nolintnextline.cpp
nonstandard-file-extension.test
objc-arc-and-properties.m
objc-no-arc-or-properties.m
overlapping.cpp
pr37091.cpp
read_file_config.cpp
run-clang-tidy.cpp Revert "Extend tests of run-clang-tidy" 2020-10-19 10:37:22 -04:00
select-checks.cpp
serialize-diagnostics.cpp
static-analyzer-config.cpp
static-analyzer.cpp
temporaries.cpp
use-color.cpp Use ANSI escape codes for --use-color on Windows 2020-10-31 10:36:42 -04:00
validate-check-names.cpp
vfsoverlay.cpp
warnings-as-errors-diagnostics.cpp
warnings-as-errors-plural.cpp
warnings-as-errors.cpp