[PATCH] D15528: Teach clang-tidy how to -Werror checks.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 08:50:12 PST 2015


alexfh added a comment.

Thank you for explaining. The use case seems to be important enough to support it. And the solution seems to be good for now. A few concerns:

1. `Werrors` isn't a good name for this. The only reason why a similar thing is called `-Werror` in compilers is that they use `-W` for warnings. I'd suggest TreatAsErrors, WarningsAsErrors or anything similar (with the proper casing change for the command line argument).
2. Documentation is missing.


http://reviews.llvm.org/D15528





More information about the cfe-commits mailing list