[LLVMbugs] [Bug 3639] New: @encode fails on structures ending in unsized array

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Feb 20 23:59:40 PST 2009


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

           Summary: @encode fails on structures ending in unsized array
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: joe at alacatialabs.com
                CC: llvmbugs at cs.uiuc.edu


Clang currently asserts when handling @encode on a structure that ends in an
unsized array:
Assertion failed: (0 && "Unhandled array type!"), function
getObjCEncodingForTypeImpl, file ASTContext.cpp, line 2198.

With a stack trace of:
clang::ASTContext::getObjCEncodingForTypeImpl at ASTContext.cpp:2198
clang::ASTContext::getObjCEncodingForTypeImpl at ASTContext.cpp:2233
clang::ASTContext::getObjCEncodingForType at ASTContext.cpp:2029


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