diff options
Diffstat (limited to 'lib/AST/TemplateBase.cpp')
-rw-r--r-- | lib/AST/TemplateBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/TemplateBase.cpp b/lib/AST/TemplateBase.cpp index e81c11a778255..394e9f38bcfdb 100644 --- a/lib/AST/TemplateBase.cpp +++ b/lib/AST/TemplateBase.cpp @@ -43,7 +43,7 @@ using namespace clang; -/// \brief Print a template integral argument value. +/// Print a template integral argument value. /// /// \param TemplArg the TemplateArgument instance to print. /// @@ -406,7 +406,7 @@ void TemplateArgument::print(const PrintingPolicy &Policy, } case Declaration: { - NamedDecl *ND = cast<NamedDecl>(getAsDecl()); + NamedDecl *ND = getAsDecl(); Out << '&'; if (ND->getDeclName()) { // FIXME: distinguish between pointer and reference args? |