[LLVMbugs] [Bug 6657] New: SemaTemplateInstantiateDecl.cpp:393: clang::Decl*<unnamed>::TemplateDeclInstantiator::VisitVarDecl(clang::VarDecl*): Assertion `InitArgs.size() == 0' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 19 14:33:35 PDT 2010


           Summary: SemaTemplateInstantiateDecl.cpp:393:
                    VarDecl(clang::VarDecl*): Assertion `InitArgs.size()
                    == 0' failed.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: evan at chromium.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

clang @r98982.  Hit this when (attempting) to compile some v8 template soup.

InitArgs.size() == 2 when this assertion is being hit.  The code in
SemaTemplateInstantiateDecl.cpp only handles sizes of 1 or 0.

I will attempt to reduce this test case.

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