diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-17 18:35:14 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-17 18:35:14 +0000 |
commit | 659a7124c7069b3e01dd171f7290562f58f9e97a (patch) | |
tree | 7d322a0e9174c4d3437f38bd217774c94e606d62 /test/Index/annotate-comments.cpp | |
parent | 379b28183a7dcb715c3f3eb2da4b0157d6d8ffbe (diff) |
CommentBriefParser: make \short should equivalent to \brief, per Doxygen manual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/annotate-comments.cpp')
-rw-r--r-- | test/Index/annotate-comments.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/test/Index/annotate-comments.cpp b/test/Index/annotate-comments.cpp index 18dab24618..406e743f87 100644 --- a/test/Index/annotate-comments.cpp +++ b/test/Index/annotate-comments.cpp @@ -194,14 +194,24 @@ void isdoxy44(void); /// Ggg. IS_DOXYGEN_END void isdoxy45(void); +/// IS_DOXYGEN_START Aaa bbb +/// ccc. +/// +/// \short +/// Ddd eee. +/// Fff. +/// +/// Ggg. IS_DOXYGEN_END +void isdoxy46(void); + /// IS_DOXYGEN_NOT_ATTACHED #define FOO -void notdoxy46(void); +void notdoxy47(void); /// IS_DOXYGEN_START Aaa bbb /// \param ccc /// \returns ddd IS_DOXYGEN_END -void isdoxy47(int); +void isdoxy48(int); #endif @@ -267,5 +277,6 @@ void isdoxy47(int); // CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb ccc.] // CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.] -// CHECK: annotate-comments.cpp:204:6: FunctionDecl=isdoxy47:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb] +// 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] |