aboutsummaryrefslogtreecommitdiff
path: root/test/Index
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2013-04-08 18:53:25 +0000
committerFariborz Jahanian <fjahanian@apple.com>2013-04-08 18:53:25 +0000
commitcac9ee0b129b8d8d4088ecf5068202886850aa2c (patch)
tree3ddadee076bb3c139d7f69961e8b130888a4a57e /test/Index
parent6f96f4b2b2b24f187f6e8402a260de0c27dd37e9 (diff)
doce parsing: adding few more headerdoc tags.
// rdar://12379114 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index')
-rw-r--r--test/Index/comment-misc-tags.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Index/comment-misc-tags.m b/test/Index/comment-misc-tags.m
index 608a88730c..f1ca418b57 100644
--- a/test/Index/comment-misc-tags.m
+++ b/test/Index/comment-misc-tags.m
@@ -15,6 +15,9 @@
Many1 discussions about text
Many2 discussions about text
@/textblock
+ @link //un_ref/c/func/function_name link text goes here @/link
+ @see //un_ref/doc/uid/XX0000011 I/O Kit Fundamentals
+ @seealso //k_ref/doc/uid/XX30000905-CH204 Programming
*/
@interface IOCommandGate
@end
@@ -32,3 +35,14 @@
// CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ Many2 discussions about text]))
// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
+// CHECK: (CXComment_VerbatimBlockCommand CommandName=[link]
+// CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ //un_ref/c/func/function_name link text goes here ]))
+// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
+// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
+// CHECK: (CXComment_BlockCommand CommandName=[see]
+// CHECK-NEXT: (CXComment_Paragraph
+// CHECK-NEXT: (CXComment_Text Text=[ //un_ref/doc/uid/XX0000011 I/O Kit Fundamentals] HasTrailingNewline)
+// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
+// CHECK: (CXComment_BlockCommand CommandName=[seealso]
+// CHECK-NEXT: (CXComment_Paragraph
+// CHECK-NEXT: (CXComment_Text Text=[ //k_ref/doc/uid/XX30000905-CH204 Programming] HasTrailingNewline)