[PATCH] D145477: run-clang-tidy.py should only search for the clang-apply-replacements if really needed

Tiwari Abhinav Ashok Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 7 01:23:29 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG144e2364410c: run-clang-tidy.py should only search for the clang-apply-replacements if really… (authored by Anonymous, committed by aabhinavg).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145477/new/

https://reviews.llvm.org/D145477

Files:
  clang-tools-extra/clang-tidy/tool/run-clang-tidy.py


Index: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -300,7 +300,7 @@
                                   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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145477.502951.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230307/3df70f25/attachment.bin>


More information about the cfe-commits mailing list