[cfe-dev] can "clang --analyze" return non-zero result?

Andrzej Krzemienski via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 6 23:41:02 PDT 2017


Hi Everyone,
When I run static analyzer from clang with `clang++ --analyze`, is there a
way to make clang return a non-zero status code in case any warning from
the analyzer is reported? (I am looking for something analogous to -Werror
for normal compiler warnings.)

Regards,
&rzej;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170907/e87f5af6/attachment.html>


More information about the cfe-dev mailing list