forked from OSchip/llvm-project
When printing a base-specifier, print the ellipsis ("...") if it is a
pack expansion. Fixes PR9452. llvm-svn: 130310
This commit is contained in:
parent
90ebf258c6
commit
5fc8c9eafb
|
@ -650,6 +650,9 @@ void DeclPrinter::VisitCXXRecordDecl(CXXRecordDecl *D) {
|
|||
if (AS != AS_none)
|
||||
Print(AS);
|
||||
Out << " " << Base->getType().getAsString(Policy);
|
||||
|
||||
if (Base->isPackExpansion())
|
||||
Out << "...";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue