diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-20 17:01:34 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-20 17:01:34 +0000 |
commit | 72021ff4038cbc48b09a3acb743e319809f086db (patch) | |
tree | b738d0a0e901216d64edf7c97a581abb7dc897ad /test/Index/annotate-comments.cpp | |
parent | 675a4e1afe2b32b50ca323ebffcb124adf081c58 (diff) |
CommentBriefParser: use \returns if we can't find the \brief or just a plain
paragraph.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/annotate-comments.cpp')
-rw-r--r-- | test/Index/annotate-comments.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Index/annotate-comments.cpp b/test/Index/annotate-comments.cpp index 406e743f87..afce06a1da 100644 --- a/test/Index/annotate-comments.cpp +++ b/test/Index/annotate-comments.cpp @@ -213,6 +213,14 @@ void notdoxy47(void); /// \returns ddd IS_DOXYGEN_END void isdoxy48(int); +/// \brief IS_DOXYGEN_START Aaa +/// \returns bbb IS_DOXYGEN_END +void isdoxy49(void); + +/// \param ccc IS_DOXYGEN_START +/// \returns ddd IS_DOXYGEN_END +void isdoxy50(int); + #endif // RUN: rm -rf %t @@ -279,4 +287,6 @@ void isdoxy48(int); // CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.] // CHECK: annotate-comments.cpp:205:6: FunctionDecl=isdoxy46:{{.*}} BriefComment=[Ddd eee. Fff.] // CHECK: annotate-comments.cpp:214:6: FunctionDecl=isdoxy48:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb] +// CHECK: annotate-comments.cpp:218:6: FunctionDecl=isdoxy49:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa] +// CHECK: annotate-comments.cpp:222:6: FunctionDecl=isdoxy50:{{.*}} BriefComment=[Returns ddd IS_DOXYGEN_END] |