forked from OSchip/llvm-project
Small compatibility fix for -print-decl-contexts.
llvm-svn: 90838
This commit is contained in:
parent
6425a23c8c
commit
897bc03305
|
@ -403,6 +403,11 @@ void DeclContextPrinter::PrintDeclContext(const DeclContext* DC,
|
|||
Out << "<objc property> " << OPD->getNameAsString() << "\n";
|
||||
break;
|
||||
}
|
||||
case Decl::FunctionTemplate: {
|
||||
FunctionTemplateDecl* FTD = cast<FunctionTemplateDecl>(*I);
|
||||
Out << "<function template> " << FTD->getNameAsString() << "\n";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
Out << "DeclKind: " << DK << '"' << I->getDeclKindName() << "\"\n";
|
||||
assert(0 && "decl unhandled");
|
||||
|
|
Loading…
Reference in New Issue