[LLVMbugs] [Bug 13455] New: [Windows] Mangler hits the "Argument.getKind() == TemplateArgument::Type" assertion

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 25 02:05:05 PDT 2012


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

             Bug #: 13455
           Summary: [Windows] Mangler hits the "Argument.getKind() ==
                    TemplateArgument::Type" assertion
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


$ cat template_declaration.cpp
typedef void (*FOO)(void);

template <FOO foo>
void bar() {
  foo();
}

void spam() {
  bar<spam>();
}

------------
As of r160667,
$ clang++ -cc1 -cxx-abi microsoft template_declaration.cpp -emit-llvm -o -
Assertion failed: Argument.getKind() == TemplateArgument::Type, file
include\clang/AST/TemplateBase.h, line 388

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