[PATCH] [clang-tidy] Added -fix-errors option

Alexander Kornienko alexfh at google.com
Fri Oct 31 11:53:50 PDT 2014


Hi klimek,

Added -fix-errors option to allow applying fixes when compiler errors
are present. Without this flag -fix would bail out if there are compiler errors.
This is needed to avoid applying wrong fixes if Clang fails to recover from
compilation errors correctly.

http://reviews.llvm.org/D6059

Files:
  clang-tidy/tool/ClangTidyMain.cpp
  test/clang-tidy/fix-errors.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6059.15636.patch
Type: text/x-patch
Size: 3367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141031/31c37b0d/attachment.bin>


More information about the cfe-commits mailing list