[llvm-branch-commits] [clang-tools-extra] 57c4054 - run-clang-tidy.py should only search for the clang-apply-replacements if really needed
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 7 01:19:37 PST 2023
Author: Anonymous
Date: 2023-03-07T14:26:00+05:30
New Revision: 57c40548192a7497c1527a247dcfc8e3846c246c
URL: https://github.com/llvm/llvm-project/commit/57c40548192a7497c1527a247dcfc8e3846c246c
DIFF: https://github.com/llvm/llvm-project/commit/57c40548192a7497c1527a247dcfc8e3846c246c.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)
More information about the llvm-branch-commits
mailing list