[LLVMbugs] [Bug 11348] New: Running scan-build on a ARC project results in tons of errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 9 12:03:49 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=11348

             Bug #: 11348
           Summary: Running scan-build on a ARC project results in tons of
                    errors
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: tobias at hieta.se
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Related to checker-258 and XCode 4.2.

When running 'scan-build xcodebuild' on my project using ARC I get over 400
results that all seems to be related to the fact that it doesn't detect that
ARC is in use.

If I use set-xcode-analyzer and run analyze from within XCode it doesn't report
the same errors. That leads me to believe that either I am missing some newly
introduced option to scan-build that enables ARC compliance or that something
was just not done for the CMD tools.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list