[llvm-bugs] [Bug 26764] New: Assertion failed: !SpecializedTemplate.is<SpecializedPartialSpecialization*>() && "Already set to a class template partial specialization!"

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 28 11:46:02 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26764

            Bug ID: 26764
           Summary: Assertion failed:
                    !SpecializedTemplate.is<SpecializedPartialSpecializati
                    on*>() && "Already set to a class template partial
                    specialization!"
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: yaron.keren at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

clang -c of these three lines


template <int, typename> class A;
template <typename T> class A<2, T>;
void fn1(A<2, double> &data_vectors) { data_vectors[0]; }


results in Assertion failed:
!SpecializedTemplate.is<SpecializedPartialSpecialization*>() && "Already set to
a class template partial specialization!", file
C:\llvm\tools\clang\include\clang/AST/DeclTemplate.h, line 1713

clang version 3.9.0 (trunk 262183)
Target: x86_64-pc-windows-msvc
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160228/3116e855/attachment-0001.html>


More information about the llvm-bugs mailing list