summaryrefslogtreecommitdiff
path: root/include/clang/AST
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-20 08:36:21 +0000
committerStephan Bergmann <sbergman@redhat.com>2019-08-20 08:36:21 +0000
commit3c19a8938b8e1da9b891d759a2533968edf2d3ed (patch)
tree1b0bcf76f8b343b4312beb526acda7fdf33b7fd3 /include/clang/AST
parenta94f64bfc77e930a2636d06009f94fb4ed20a545 (diff)
downloadclang-3c19a8938b8e1da9b891d759a2533968edf2d3ed.tar.gz
Rudimentary support for Doxygen \retval command
...so that at least a preceding \param etc. that lacks a description gets a -Wdocumentation warning (instead of erroneously treating the \retval ... text as its paragraph). Differential Revision: https://reviews.llvm.org/D66350 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST')
-rw-r--r--include/clang/AST/CommentCommands.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/CommentCommands.td b/include/clang/AST/CommentCommands.td
index 958ee032e7..3b0d1603d4 100644
--- a/include/clang/AST/CommentCommands.td
+++ b/include/clang/AST/CommentCommands.td
@@ -139,6 +139,7 @@ def Post : BlockCommand<"post">;
def Pre : BlockCommand<"pre">;
def Remark : BlockCommand<"remark">;
def Remarks : BlockCommand<"remarks">;
+def Retval : BlockCommand<"retval">;
def Sa : BlockCommand<"sa">;
def See : BlockCommand<"see">;
def Since : BlockCommand<"since">;