[LLVMbugs] [Bug 7275] New: Clang @encode not implemented assertion fails when compiling Obj-C method with C++ instance pointer argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 1 04:48:25 PDT 2010


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

           Summary: Clang @encode not implemented assertion fails when
                    compiling Obj-C method with C++ instance pointer
                    argument
           Product: new-bugs
           Version: 2.7
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: denis.defreyne at stoneship.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4959)
 --> (http://llvm.org/bugs/attachment.cgi?id=4959)
Test case + instructions on compiling + error message

clang exits with an assertion failure when compiling an Objective-C class with
a method that takes a pointer to a C++ instance:

    “Assertion failed: (0 && "@encode for type not implemented!"), function
getObjCEncodingForTypeImpl, file ASTContext.cpp, line 3874.”

See the attachment for a test case, along with instructions on how to reproduce
as well as the full error message that I am getting.

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