diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-06-16 15:23:05 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-06-16 15:23:05 +0000 |
commit | efed5c832de630715dd42211dd3b2aab5dd97a1b (patch) | |
tree | 8060bca9387fc776f052b156ad9545532c044c0f /lib/AST/DeclPrinter.cpp | |
parent | 6cd8087e66d706f2317865f86c865fd9bc6969c9 (diff) |
Revert r106099; it broke self-host.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclPrinter.cpp')
-rw-r--r-- | lib/AST/DeclPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp index 21cfda19a2..2fb6cb1d31 100644 --- a/lib/AST/DeclPrinter.cpp +++ b/lib/AST/DeclPrinter.cpp @@ -623,7 +623,7 @@ void DeclPrinter::VisitTemplateDecl(TemplateDecl *D) { if (TTP->isParameterPack()) Out << "... "; - Out << TTP->getNameAsString(); + Out << ParamType.getAsString(Policy); if (TTP->hasDefaultArgument()) { Out << " = "; |