forked from OSchip/llvm-project
Add a missing case for DeclContext printer.
llvm-svn: 93973
This commit is contained in:
parent
3f3e2cd820
commit
00c6046a81
|
@ -421,6 +421,11 @@ void DeclContextPrinter::PrintDeclContext(const DeclContext* DC,
|
|||
Out << "<namespace alias> " << NAD->getNameAsString() << "\n";
|
||||
break;
|
||||
}
|
||||
case Decl::ClassTemplate: {
|
||||
ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(*I);
|
||||
Out << "<class template> " << CTD->getNameAsString() << '\n';
|
||||
break;
|
||||
}
|
||||
default:
|
||||
Out << "DeclKind: " << DK << '"' << I->getDeclKindName() << "\"\n";
|
||||
assert(0 && "decl unhandled");
|
||||
|
|
Loading…
Reference in New Issue