Author: Anonymous Date: 2023-03-07T14:52:34+05:30 New Revision: 144e2364410cc57e919eee38402bc5347f1d57b8
URL: https://github.com/llvm/llvm-project/commit/144e2364410cc57e919eee38402bc5347f1d57b8 DIFF: https://github.com/llvm/llvm-project/commit/144e2364410cc57e919eee38402bc5347f1d57b8.diff LOG: run-clang-tidy.py should only search for the clang-apply-replacements if really needed run-clang-tidy.py should only search for the clang-apply-replacements if really needed. Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D145477 Added: Modified: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py Removed: ################################################################################ diff --git a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py index e3da6fb9b096..30e29182908d 100755 --- a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py +++ b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py @@ -300,7 +300,7 @@ def main(): build_path) tmpdir = None - if args.fix or (yaml and args.export_fixes): + if args.fix: clang_apply_replacements_binary = find_binary( args.clang_apply_replacements_binary, "clang-apply-replacements", build_path) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits