[cfe-dev] Issue count discrepancy in scan-build for Objective-C

Jason Leach jason.leach at fullboar.ca
Tue Jan 3 15:51:28 PST 2012


Hi:

I'm curious why I see a discrepancy in the issue count reported from xcode 4.2 vs. scan-build (checker-258). Xcode has found 29 issues while scan-build (258) found 7; most notable are the difference in memory leaks.

Here is how I run scan-build:
scan-build --use-cc=`which clang` -k -o scan-reports xcodebuild -target MyTarget -project myproject.xcodeproj -sdk iphonesimulator5.0 -configuration Debug clean build

Thanks in advance.

Regards,

Jason Leach
Fullboar Creative Corp.
jason.leach at fullboar.ca
http://fullboar.ca/

t.  +1.604.800.0266 ext 101
c. +1.604.318.3939
f.  +1.604.800.0266

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120103/a5709431/attachment.html>


More information about the cfe-dev mailing list