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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to