aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/CommentParser.cpp')
-rw-r--r--lib/AST/CommentParser.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/AST/CommentParser.cpp b/lib/AST/CommentParser.cpp
index 8d7716a9d5..eb1027a9b6 100644
--- a/lib/AST/CommentParser.cpp
+++ b/lib/AST/CommentParser.cpp
@@ -334,8 +334,11 @@ BlockCommandComment *Parser::parseBlockCommand() {
ParagraphComment *Paragraph = S.actOnParagraphComment(
ArrayRef<InlineContentComment *>());
if (IsParam) {
- S.actOnBlockCommandFinish(PC, Paragraph);
+ S.actOnParamCommandFinish(PC, Paragraph);
return PC;
+ } else if (IsTParam) {
+ S.actOnTParamCommandFinish(TPC, Paragraph);
+ return TPC;
} else {
S.actOnBlockCommandFinish(BC, Paragraph);
return BC;