aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentSema.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-03-04 20:08:47 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-03-04 20:08:47 +0000
commitc9320095d0126a104552ae718af461ad53316a34 (patch)
tree21ecf5fca884bd40e4701a22f2e82ff519d7fd09 /lib/AST/CommentSema.cpp
parent0090591e505637cf2d9ea3b45768334d78d24ca2 (diff)
[comment parsing] source fidelity for tparam command too.
// rdar://13066276 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentSema.cpp')
-rw-r--r--lib/AST/CommentSema.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp
index 3e4b28356b..dab48e05df 100644
--- a/lib/AST/CommentSema.cpp
+++ b/lib/AST/CommentSema.cpp
@@ -173,6 +173,7 @@ TParamCommandComment *Sema::actOnTParamCommandStart(SourceLocation LocBegin,
if (!isTemplateOrSpecialization())
Diag(Command->getLocation(),
diag::warn_doc_tparam_not_attached_to_a_template_decl)
+ << AtCommand
<< Command->getCommandNameRange(Traits);
return Command;