handle labeldecls.

llvm-svn: 125806
This commit is contained in:
Chris Lattner 2011-02-18 00:52:55 +00:00
parent f69c80bac2
commit d12b480e29
1 changed files with 6 additions and 1 deletions

View File

@ -359,8 +359,13 @@ void DeclContextPrinter::PrintDeclContext(const DeclContext* DC,
Out << "<IndirectField> " << IFD << '\n';
break;
}
case Decl::Label: {
LabelDecl *LD = cast<LabelDecl>(*I);
Out << "<Label> " << LD << '\n';
break;
}
case Decl::Field: {
FieldDecl* FD = cast<FieldDecl>(*I);
FieldDecl *FD = cast<FieldDecl>(*I);
Out << "<field> " << FD << '\n';
break;
}