summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/Comment.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/Comment.cpp b/clang/lib/AST/Comment.cpp
index 15b80c64554..ecf6d2a5532 100644
--- a/clang/lib/AST/Comment.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud