Lines Matching +full:check +full:- +full:direct
14 //===---
16 // Check that we attach comments to properties correctly.
17 //===---
29 - (void)method1_isdoxy1;
30 - (void)method1_isdoxy2; ///< method1_isdoxy2 IS_DOXYGEN_SINGLE
31 - (void)method1_isdoxy3; /**< method1_isdoxy3 IS_DOXYGEN_SINGLE */
32 - (void)method1_isdoxy4; /*!< method1_isdoxy4 IS_DOXYGEN_SINGLE */
35 //===---
37 // Check that we attach comments to enums declared using the NS_ENUM macro.
38 //===---
64 // RUN: rm -rf %t
66 // RUN: mkdir %t/module-cache
68 // Check that we serialize comment source locations properly.
69 // RUN: %clang_cc1 -emit-pch -o %t/out.pch -F %S/Inputs/Frameworks %s
70 // RUN: %clang_cc1 -include-pch %t/out.pch -F %S/Inputs/Frameworks -fsyntax-only %s
72 // RUN: c-index-test -write-pch %t/out.pch -F %S/Inputs/Frameworks %s
73 …c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.r…
74 …-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rn…
75 // RUN: c-index-test -test-load-tu %t/out.pch all -F %S/Inputs/Frameworks > %t/out.c-index-pch
77 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
78 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-modules
79 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
82 // WRONG-NOT: notdoxy{{.*}}Comment=
83 // WRONG-NOT: test{{.*}}Comment=
85 // Non-Doxygen comments should not be attached to anything.
86 // WRONG-NOT: NOT_DOXYGEN
89 // WRONG-NOT: IS_DOXYGEN_NOT_ATTACHED
92 // WRONG-NOT: IS_DOXYGEN_START{{.*}}IS_DOXYGEN_START{{.*}}BriefComment=
93 // WRONG-NOT: IS_DOXYGEN_END{{.*}}IS_DOXYGEN_END{{.*}}BriefComment=
96 // WRONG-NOT: CommentXMLInvalid
98 // RUN: FileCheck %s < %t/out.c-index-direct
99 // RUN: FileCheck %s < %t/out.c-index-modules
100 // RUN: FileCheck %s < %t/out.c-index-pch
102 // These CHECK lines are not located near the code on purpose. This test
104 // Adding a non-documentation comment with CHECK line between every two
107 // CHECK-DAG: annotate-comments-objc.m:7:6: FunctionDecl=functionBeforeImports:{{.*}} BriefComment=…
108 // CHECK-DAG: DocCommentsA.h:2:6: FunctionDecl=functionFromDocCommentsA1:{{.*}} BriefComment=[Comme…
109 // CHECK-DAG: DocCommentsA.h:7:6: FunctionDecl=functionFromDocCommentsA2:{{.*}} BriefComment=[Comme…
110 // CHECK-DAG: DocCommentsB.h:2:6: FunctionDecl=functionFromDocCommentsB1:{{.*}} BriefComment=[Comme…
111 // CHECK-DAG: DocCommentsB.h:7:6: FunctionDecl=functionFromDocCommentsB2:{{.*}} BriefComment=[Comme…
112 // CHECK-DAG: DocCommentsC.h:2:6: FunctionDecl=functionFromDocCommentsC:{{.*}} BriefComment=[Commen…
113 // CHECK: annotate-comments-objc.m:23:50: ObjCPropertyDecl=property1_isdoxy1:{{.*}} property1_isdox…
114 // CHECK: annotate-comments-objc.m:24:50: ObjCPropertyDecl=property1_isdoxy2:{{.*}} property1_isdox…
115 // CHECK: annotate-comments-objc.m:25:50: ObjCPropertyDecl=property1_isdoxy3:{{.*}} property1_isdox…
116 // CHECK: annotate-comments-objc.m:26:50: ObjCPropertyDecl=property1_isdoxy4:{{.*}} property1_isdox…
117 // CHECK: annotate-comments-objc.m:29:9: ObjCInstanceMethodDecl=method1_isdoxy1:{{.*}} method1_isdo…
118 // CHECK: annotate-comments-objc.m:30:9: ObjCInstanceMethodDecl=method1_isdoxy2:{{.*}} method1_isdo…
119 // CHECK: annotate-comments-objc.m:31:9: ObjCInstanceMethodDecl=method1_isdoxy3:{{.*}} method1_isdo…
120 // CHECK: annotate-comments-objc.m:32:9: ObjCInstanceMethodDecl=method1_isdoxy4:{{.*}} method1_isdo…
121 // CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_…
122 // CHECK: annotate-comments-objc.m:43:22: TypedefDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 …
123 // CHECK: annotate-comments-objc.m:43:22: EnumDecl=An_NS_ENUM_isdoxy1:{{.*}} An_NS_ENUM_isdoxy1 IS_…
124 // CHECK: annotate-comments-objc.m:60:32: TypedefDecl=typedef_isdoxy1:{{.*}} typedef_isdoxy1 IS_DOX…