aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Comment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/Comment.cpp')
-rw-r--r--lib/AST/Comment.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp
index 15b80c6455..ecf6d2a553 100644
--- a/lib/AST/Comment.cpp
+++ b/lib/AST/Comment.cpp
@@ -194,6 +194,10 @@ void DeclInfo::fill() {
} else if (isa<ClassTemplateSpecializationDecl>(ThisDecl)) {
IsTemplateDecl = true;
IsTemplateSpecialization = true;
+ } else if (const TypeAliasTemplateDecl *TAT =
+ dyn_cast<TypeAliasTemplateDecl>(ThisDecl)) {
+ IsTemplateDecl = true;
+ TemplateParameters = TAT->getTemplateParameters();
}
IsFilled = true;
}