[LLVMbugs] [Bug 9745] New: Struct initialization failure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 18 09:37:28 PDT 2011


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

           Summary: Struct initialization failure
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: remy.demarest at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6482)
 --> (http://llvm.org/bugs/attachment.cgi?id=6482)
Example of initializations with CGRect.

Given a structure with structure fields, when you initialize a structure object
with values of the substructure type, the analyzer consider that some of the
fields of the substructures are not initialized when passed to functions.

For example, when a CGRect is initialized with a CGPoint and a CGSize, the
analyzer will consider that origin.x is not set.

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