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

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 09:38:59 PST 2016


jroelofs added a comment.

In http://reviews.llvm.org/D15528#312031, @alexfh wrote:

> 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).


Renamed.

> 2. Documentation is missing.


Working on that now.


http://reviews.llvm.org/D15528





More information about the cfe-commits mailing list