http://llvm.org/bugs/show_bug.cgi?id=8832
Summary: missed switch case for IndirectField in
DeclContextPrinter::PrintDeclContext
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
rev 122242
cl: clang -cc1 -fms-extensions -print-decl-contexts !.c
!.c:
struct S
{
struct { int a; int b; };
} s;
result: "Assertion failed: 0 && "decl unhandled", file AstConsumers.cpp, line
417
solution:
add switch case for IndirectField after line 415.
// case Decl::IndirectField:
// {
// IndirectFieldDecl *ifd = cast<IndirectFieldDecl>(*I);
// Out << "<indirect field> " << ifd << '\n';
// break;
// }
--
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