summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/warn-documentation.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-19 00:01:56 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-19 00:01:56 +0000
commit7b2ca3e80bf3bb9ff8fbe0d5cc773b2cf07f6608 (patch)
tree40bf67520ddb0acfdc7f03c54dbb1d9b665fb1d4 /clang/test/Sema/warn-documentation.cpp
parent0de5913855f8fc938d5a9eed5de89761c9c9c966 (diff)
downloadbcm5719-llvm-7b2ca3e80bf3bb9ff8fbe0d5cc773b2cf07f6608.tar.gz
bcm5719-llvm-7b2ca3e80bf3bb9ff8fbe0d5cc773b2cf07f6608.zip
Fix ParagraphComment::isWhitespace(): a paragraph without a non-whitespace
TextComment node was considered whitespace even if it contained other child nodes. llvm-svn: 160474
Diffstat (limited to 'clang/test/Sema/warn-documentation.cpp')
-rw-r--r--clang/test/Sema/warn-documentation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp
index f12871856be..aec914a7cd0 100644
--- a/clang/test/Sema/warn-documentation.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud