[PATCH] D31326: Add option to export fixes to run-clang-tidy.py

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 06:29:57 PDT 2017


alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang-tidy/tool/run-clang-tidy.py:96-98
+  # Clang-tidy < 4.0.0 uses "Replacements" as a key to the list
+  # of replacements. Clang-tidy >= 4.0.0 uses "Diagnostics" as the
+  # top-level key.
----------------
I don't think there's much sense in supporting the old format, since the script is distributed together with the binary, so it's unlikely that it will encounter clang-tidy of an earlier version.


https://reviews.llvm.org/D31326





More information about the cfe-commits mailing list