http://llvm.org/bugs/show_bug.cgi?id=7670
Summary: PCHWriterDecl.cpp:848: void
clang::PCHDeclWriter::VisitClassTemplateDecl(clang::Cl
assTemplateDecl*): Assertion `IsKeptInFoldingSet(&*I)'
failed.
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Consider:
template<typename> class C;
template<> class C<int>;
template<> class C<int>;
When I try to compile this into a PCH with:
clang -cc1 t.hpp -emit-pch -o t.hpp.pch
I get:
clang: PCHWriterDecl.cpp:848: void
clang::PCHDeclWriter::VisitClassTemplateDecl(clang::ClassTemplateDecl*):
Assertion `IsKeptInFoldingSet(&*I)' failed.
I'm using clang r108692.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs