diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-06-22 23:03:37 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-06-22 23:03:37 +0000 |
commit | d66629343550299e30dff26c22a2697ddbfd5b0d (patch) | |
tree | 407cab685769cb47f7633f8780b962c4a37c23d7 /clang/test/Sema/warn-documentation.cpp | |
parent | f8455fab3f0cd67fbdde797e93eb24309245b72e (diff) | |
download | bcm5719-llvm-d66629343550299e30dff26c22a2697ddbfd5b0d.tar.gz bcm5719-llvm-d66629343550299e30dff26c22a2697ddbfd5b0d.zip |
Comment parsing: followup to r184610: allow multiple \returns
Remove unneeded member in CommentSema, add a test for the XML schema (the
schema already allowed multiple paragraphs in <ResultDiscussion>, but there
were no tests for that), fix HTML generation (it is not allowed to have <p>
inside <dl>).
llvm-svn: 184652
Diffstat (limited to 'clang/test/Sema/warn-documentation.cpp')
-rw-r--r-- | clang/test/Sema/warn-documentation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index 27a13ab97c6..8eb21a60a06 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/test/Sema/warn-documentation.cpp @@ -141,28 +141,28 @@ int test_duplicate_brief3(int); /// Bbb /// /// \return Ccc -int test_duplicate_returns1(int); +int test_multiple_returns1(int); /// \returns Aaa /// /// Bbb /// /// \returns Ccc -int test_duplicate_returns2(int); +int test_multiple_returns2(int); /// \result Aaa /// /// Bbb /// /// \result Ccc -int test_duplicate_returns3(int); +int test_multiple_returns3(int); /// \returns Aaa /// /// Bbb /// /// \return Ccc -int test_duplicate_returns4(int); +int test_multiple_returns4(int); // expected-warning@+1 {{'\param' command used in a comment that is not attached to a function declaration}} |