[cfe-users] [analyzer] clang analyzer flag vs scan build

Cyndy Ishida via cfe-users cfe-users at lists.llvm.org
Thu Jul 27 12:33:09 PDT 2017


Hi,

I was trying to integrate the static analysis tools into a few of my projects.
I started using scan-build, and couldn't  get it working on larger projects, even after exporting CXX & CC variables.
It just always reported 'no bugs found'.
Using clang++ --analyze, I was able to see warning messages.

On the smaller projects, I noticed that the errors were the same for both the compiler argument(--analyze) and the scan-build command.
Would anyone know if and how they would incur different warning reports?


Thanks!
-Cyndy Ishida
This message, including any attachments, is intended only for the personal and confidential use of the designated recipient(s) to which it is addressed. This communication may contain information that constitutes attorney work product, is privileged, confidential or otherwise protected from disclosure. If the reader of this message is not the designated recipient, you are hereby notified that you have received this communication in error, and that any review, dissemination, retention, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us by telephone at +1 212 418 0113 or by e-mail reply to the sender, and discard any paper copies and delete all electronic files of this communication. Virtu Financial LLC. <http://www.virtu.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20170727/283903a0/attachment.html>


More information about the cfe-users mailing list