[PATCH] [clang-tidy] Add a little python script that can run clang-tidy and apply fixes over an entire codebase.

Manuel Klimek klimek at google.com
Mon Sep 8 06:49:04 PDT 2014


================
Comment at: clang-tidy/tool/run-clang-tidy.py:76
@@ +75,3 @@
+    # case we'll lose edits for a file.
+    start.append(tempfile.mktemp(suffix='.yaml', dir=tmpdir))
+  start.append('-p=' + build_path)
----------------
Use mkstemp!

http://reviews.llvm.org/D5188






More information about the cfe-commits mailing list