]> granicus.if.org Git - clang/commit
Remove spurious assertion in -Wdocumentation
authorReid Kleckner <rnk@google.com>
Tue, 2 Oct 2018 22:23:27 +0000 (22:23 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 2 Oct 2018 22:23:27 +0000 (22:23 +0000)
commitbe0d7de1a3efd49946de2985826cb2c32aa88283
tree6be7cfc871fe7d31a770ce03cd686ccc83cda9dc
parent5d94ed487335f62c0646d9ac5e913d787496761b
Remove spurious assertion in -Wdocumentation

Some code in OpenCV uses interesting doxygen directives that make it so
we don't see any tokens inside a @note, despite there definitely being
non-whitespace characters there. The consistency check isn't needed.
ParagraphComment supports receiving an empty list of comments.

Fixes PR39007

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/CommentParser.cpp
test/Sema/warn-documentation.cpp