]> granicus.if.org Git - clang/commit
Comment diagnostics: warn if \returns is used in a non-function comment or if
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 3 Aug 2012 21:15:32 +0000 (21:15 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 3 Aug 2012 21:15:32 +0000 (21:15 +0000)
commit89ab7d0012ffe02a335b765eeb9b48977a5ecd79
treeefa56afcd5f2be0fbdec3449517e994710df9811
parent5295b97d6a0117414a24d319d9a018191ec1d8e3
Comment diagnostics: warn if \returns is used in a non-function comment or if
the function returns void.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161261 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Comment.h
include/clang/AST/CommentSema.h
include/clang/Basic/DiagnosticCommentKinds.td
lib/AST/Comment.cpp
lib/AST/CommentSema.cpp
test/Sema/warn-documentation.cpp