[LLVMbugs] [Bug 17341] New: Analyzer incorrectly reports "Dictionary value cannot be nil"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 24 05:47:52 PDT 2013


            Bug ID: 17341
           Summary: Analyzer incorrectly reports "Dictionary value cannot
                    be nil"
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: mkistler at us.ibm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11275
  --> http://llvm.org/bugs/attachment.cgi?id=11275&action=edit
A small code snippet that reproduces the problem.

Using latest release of Xcode (5.0) with clang-500.2.76.

Static analyzer incorrectly reports "Dictionary value cannot be nil".  Report
is incorrect because the flagged line is unreachable when the flagged value is
nil (due to explicit check).

A small code snippet is attached the reproduces the problem.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130924/21a2f812/attachment.html>

More information about the llvm-bugs mailing list