[LLVMbugs] [Bug 9328] New: Assertion `chunkIndex + 1 < e && "No DeclaratorChunk for the return type?"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 25 12:20:45 PST 2011


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

           Summary: Assertion `chunkIndex + 1 < e && "No DeclaratorChunk
                    for the return type?"' failed.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: grzegorz.dabrowski at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


$ cat assert.cpp 
typedef char *PCHAR;
class Test 
{
    const PCHAR GetName() {}
};

$ clang++ assert.cpp
clang: SemaType.cpp:1733: clang::TypeSourceInfo*
clang::Sema::GetTypeForDeclarator(clang::Declarator&, clang::Scope*,
clang::TagDecl**, bool): Assertion `chunkIndex + 1 < e && "No DeclaratorChunk
for the return type?"' failed.

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