[cfe-dev] Specifying expected warnings in scan-build/SATestBuild?

<Alexander G. Riccio> via cfe-dev cfe-dev at lists.llvm.org
Tue Apr 12 00:37:15 PDT 2016


Is there a way to specify that I expect a warning on a certain line, much
like lit's // expected-warning{{...}} syntax?

Since I intend to increase the number of bugs detected by Clang, I'm
looking for places where an expected warning/diagnostic is missing.
Currently I need to manually look for these.

Sincerely,
Alexander Riccio
--
"Change the world or go home."
about.me/ariccio

<http://about.me/ariccio>
If left to my own devices, I will build more.
⁂
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160412/3dcf90dd/attachment.html>


More information about the cfe-dev mailing list