[PATCH] [clang-tidy] Add an option to export suggested fixes into a file.
Benjamin Kramer
benny.kra at gmail.com
Thu Sep 4 03:20:48 PDT 2014
================
Comment at: clang-tidy/ClangTidy.cpp:374
@@ +373,3 @@
+ yaml::Output YAML(OS);
+ YAML << TUR;
+}
----------------
alexfh wrote:
> "return YAML.error();" seems like a good idea in case the file is not writable or any other error occurs.
yaml::Output has no way to retrieve errors :(
http://reviews.llvm.org/D5176
More information about the cfe-commits
mailing list