diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-04 18:53:41 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-04 18:53:41 +0000 |
commit | 66f6c24146efccc9ad7e37dbd2bd0ea1844e6422 (patch) | |
tree | 30a865c044c359be437eaa41b17e396be1cd620d /lib/AST/CommentSema.cpp | |
parent | aec89ac22e1876bb1cfff9062c882a622bc84510 (diff) |
comment parsing. Missed a case of referring
to original command in diagnostic. // rdar://13066276
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentSema.cpp')
-rw-r--r-- | lib/AST/CommentSema.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp index e7bd5c8cad..3e4b28356b 100644 --- a/lib/AST/CommentSema.cpp +++ b/lib/AST/CommentSema.cpp @@ -78,6 +78,7 @@ ParamCommandComment *Sema::actOnParamCommandStart(SourceLocation LocBegin, if (!isFunctionDecl()) Diag(Command->getLocation(), diag::warn_doc_param_not_attached_to_a_function_decl) + << AtCommand << Command->getCommandNameRange(Traits); return Command; |