[LLVMbugs] [Bug 14520] New: nonnull attribute ignored when analyzing function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 5 11:46:00 PST 2012


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

             Bug #: 14520
           Summary: nonnull attribute ignored when analyzing function
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: eric.huhtala at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9643
  --> http://llvm.org/bugs/attachment.cgi?id=9643
annotated source code result of analyzer run.

I've already told clang that a parameter is not null via
__attribute__((nonnull(x))), so it seems like it should take that into account
when analyzing a function.  See attached html.

-- 
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