diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-19 00:01:56 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-19 00:01:56 +0000 |
commit | 858e69fe1305bdffb76a200c0f498685f11e65ae (patch) | |
tree | 889281f2d54b20709499f21c333075ba44dc5d61 /test/Sema/warn-documentation.cpp | |
parent | e3898ac6cca333f9a781eb6df4be5f3ba8258559 (diff) |
Fix ParagraphComment::isWhitespace(): a paragraph without a non-whitespace
TextComment node was considered whitespace even if it contained other child
nodes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-documentation.cpp')
-rw-r--r-- | test/Sema/warn-documentation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/warn-documentation.cpp b/test/Sema/warn-documentation.cpp index f12871856b..aec914a7cd 100644 --- a/test/Sema/warn-documentation.cpp +++ b/test/Sema/warn-documentation.cpp @@ -104,6 +104,9 @@ int test_block_command4(int); /// \brief Aaa int test_block_command5(int); +/// \brief \c Aaa +int test_block_command6(int); + // expected-warning@+1 {{'\param' command used in a comment that is not attached to a function declaration}} /// \param a Blah blah. int test_param1; |