Documentation parsing: propely handle a lone '\endverbatim' and emit a warning.
authorDmitri Gribenko <gribozavr@gmail.com>
Sun, 18 Nov 2012 00:30:31 +0000 (00:30 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Sun, 18 Nov 2012 00:30:31 +0000 (00:30 +0000)
commit76b91c3431115a88d013c47839d7c5189da08b28
tree609509769bdb7bb2375b5ef0cf801f2517c438b0
parenta01d4cfff2f6728b5600836d6a6a650d380c1b62
Documentation parsing: propely handle a lone '\endverbatim' and emit a warning.

We actually used to assert on this.

Thanks to NAKAMURA Takumi for noticing this!

llvm-svn: 168277
clang/include/clang/Basic/DiagnosticCommentKinds.td
clang/lib/AST/CommentParser.cpp
clang/test/Sema/warn-documentation.cpp