[PATCH] D27440: clang-format-vsix: fail when clang-format outputs to stderr
Antonio Maiorano via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 5 17:46:37 PST 2016
amaiorano added a comment.
With this change, I now get the following message box when my .clang-format has an invalid field named "SomeInvalidField":
F2652560: 0.png <https://reviews.llvm.org/F2652560>
I do have to wonder whether the real bug is the fact that clang-format returns a success status (0) even though there's a failure while parsing. Feels odd to have it write to stderr but return 0.
https://reviews.llvm.org/D27440
More information about the cfe-commits
mailing list