diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/check_clang_tidy.py')
-rwxr-xr-x | clang-tools-extra/test/clang-tidy/check_clang_tidy.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py index d8086b16eae..46fe0f6c8af 100755 --- a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py +++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py @@ -164,7 +164,9 @@ def main(): if has_check_notes: notes_file = temp_file_name + '.notes' - write_file(notes_file, clang_tidy_output) + filtered_output = [line for line in clang_tidy_output.splitlines() + if not "note: FIX-IT applied suggested changes" in line] + write_file(notes_file, '\n'.join(filtered_output)) try: subprocess.check_output( ['FileCheck', '-input-file=' + notes_file, input_file_name, |