diff options
Diffstat (limited to 'lib/AST/TemplateBase.cpp')
-rw-r--r-- | lib/AST/TemplateBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/TemplateBase.cpp b/lib/AST/TemplateBase.cpp index 25165972ef..7e6bae2b26 100644 --- a/lib/AST/TemplateBase.cpp +++ b/lib/AST/TemplateBase.cpp @@ -326,7 +326,7 @@ void TemplateArgument::print(const PrintingPolicy &Policy, if (NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getAsDecl())) { if (ND->getDeclName()) { Unnamed = false; - Out << ND->getNameAsString(); + Out << *ND; } } |