| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | complete-property-flags.m | 12 // CHECK-CC1: {TypedText assign} 13 // CHECK-CC1-NEXT: {TypedText atomic} 14 // CHECK-CC1-NEXT: {TypedText copy} 16 // CHECK-CC1-NEXT: {TypedText nonatomic} 17 // CHECK-CC1: {TypedText nonnull} 20 // CHECK-CC1-NEXT: {TypedText nullable} 21 // CHECK-CC1-NEXT: {TypedText readonly} 22 // CHECK-CC1-NEXT: {TypedText readwrite} 23 // CHECK-CC1-NEXT: {TypedText retain} 25 // CHECK-CC1-NEXT: {TypedText strong} [all …]
|
| H A D | complete-kvc.m | 55 // RUN: c-index-test -code-completion-at=%s:39:3 %s | FileCheck -check-prefix=CHECK-CC1 %s 58 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text NSArray *}{RightParen )}{TypedText arrayPro… 60 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text BOOL}{RightParen )}{TypedText boolProperty}… 62 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text NSUInteger}{RightParen )}{TypedText countOf… 63 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text NSUInteger}{RightParen )}{TypedText countOf… 64 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text NSUInteger}{RightParen )}{TypedText countOf… 75 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text int *}{RightParen )}{TypedText intPointerPr… 76 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText intProperty} (… 77 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text BOOL}{RightParen )}{TypedText isBoolPropert… 78 // CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text BOOL}{RightParen )}{TypedText isIntProperty… [all …]
|
| H A D | complete-natural.m | 13 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 14 // CHECK-CC1: Completion contexts: 15 // CHECK-CC1-NEXT: Natural language 16 // CHECK-CC1-NEXT: DONE 19 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 22 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 25 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 28 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 31 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t 34 // RUN: FileCheck -check-prefix=CHECK-CC1 %s < %t [all …]
|
| H A D | arc-complete.m | 9 …ode-completion-at=%s:4:4 %s -fobjc-arc -fobjc-nonfragile-abi | FileCheck -check-prefix=CHECK-CC1 %s 10 // CHECK-CC1: macro definition:{TypedText __autoreleasing} (70) 11 // CHECK-CC1: NotImplemented:{TypedText __bridge}{HorizontalSpace }{Placeholder type}{RightParen )… 12 // CHECK-CC1: NotImplemented:{TypedText __bridge_retained}{HorizontalSpace }{Placeholder CF type}{… 13 // CHECK-CC1: NotImplemented:{TypedText __bridge_transfer}{HorizontalSpace }{Placeholder Objective… 14 // CHECK-CC1: macro definition:{TypedText __strong} (70) 15 // CHECK-CC1: macro definition:{TypedText __unsafe_unretained} (70) 16 // CHECK-CC1: macro definition:{TypedText __weak} (70)
|
| H A D | complete-preprocessor.m | 16 // RUN: c-index-test -code-completion-at=%s:4:3 %s | FileCheck -check-prefix=CHECK-CC1 %s 17 // CHECK-CC1: NotImplemented:{TypedText define}{HorizontalSpace }{Placeholder macro} (40) 19 // CHECK-CC1-NEXT: NotImplemented:{TypedText error}{HorizontalSpace }{Placeholder message} (40) 20 // CHECK-CC1-NEXT: NotImplemented:{TypedText if}{HorizontalSpace }{Placeholder condition} (40) 21 // CHECK-CC1-NEXT: NotImplemented:{TypedText ifdef}{HorizontalSpace }{Placeholder macro} (40) 22 // CHECK-CC1-NEXT: NotImplemented:{TypedText ifndef}{HorizontalSpace }{Placeholder macro} (40) 23 // CHECK-CC1-NEXT: NotImplemented:{TypedText import}{HorizontalSpace }{Text "}{Placeholder header}… 29 // CHECK-CC1-NEXT: NotImplemented:{TypedText line}{HorizontalSpace }{Placeholder number} (40) 31 // CHECK-CC1-NEXT: NotImplemented:{TypedText pragma}{HorizontalSpace }{Placeholder arguments} (40) 32 // CHECK-CC1-NEXT: NotImplemented:{TypedText undef}{HorizontalSpace }{Placeholder macro} (40) [all …]
|
| H A D | complete-block-properties.m | 39 // RUN: c-index-test -code-completion-at=%s:34:8 %s | FileCheck -check-prefix=CHECK-CC1 %s 40 // RUN: c-index-test -code-completion-at=%s:35:33 %s | FileCheck -check-prefix=CHECK-CC1 %s 41 // RUN: c-index-test -code-completion-at=%s:36:21 %s | FileCheck -check-prefix=CHECK-CC1 %s 42 //CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText barBlock}{LeftParen (}{Placeholder int *}{… 43 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText block}{LeftParen (}{RightParen )} (3… 44 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void (^)()}{TypedText block}{Equal = }{Placeholder … 47 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType int}{TypedText foo} (35) 48 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText fooBlock}{LeftParen (}{Placeholder F… 49 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType Test *}{TypedText getObject}{LeftParen (}{Placeholde… 50 //CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType int}{TypedText performA}{LeftParen (}{RightParen )} … [all …]
|
| H A D | complete-block-property-assignment.m | 33 // RUN: c-index-test -code-completion-at=%s:27:8 %s | FileCheck -check-prefix=CHECK-CC1 %s 34 // RUN: c-index-test -code-completion-at=%s:28:27 %s | FileCheck -check-prefix=CHECK-CC1 %s 35 // RUN: c-index-test -code-completion-at=%s:29:22 %s | FileCheck -check-prefix=CHECK-CC1 %s 36 // RUN: c-index-test -code-completion-at=%s:30:9 %s | FileCheck -check-prefix=CHECK-CC1 %s 37 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText foo} (37) 38 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType Obj *}{TypedText obj} (35) 39 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void}{TypedText onAction}{LeftParen (}{Placeholder … 40 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType void (^)(Obj *)}{TypedText onAction}{Equal = }{Pla… 42 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType FooBlock}{TypedText onEventHandler}{Equal = }{Plac… 44 // CHECK-CC1-NEXT: ObjCPropertyDecl:{ResultType int}{TypedText processEvent}{LeftParen (}{Placehold… [all …]
|
| H A D | complete-exprs.m | 20 // RUN: c-index-test -code-completion-at=%s:13:2 %s | FileCheck -check-prefix=CHECK-CC1 %s 21 // CHECK-CC1: NotImplemented:{ResultType NSString *}{TypedText @"}{Placeholder string}{Text "} (40) 22 // CHECK-CC1: NotImplemented:{ResultType id}{TypedText @(}{Placeholder expression}{RightParen )} (4… 23 // CHECK-CC1: NotImplemented:{ResultType NSArray *}{TypedText @[}{Placeholder objects, ...}{RightBr… 24 // CHECK-CC1: NotImplemented:{ResultType NSDictionary *}{TypedText @{}{Placeholder key}{Colon :}{Ho… 25 // CHECK-CC1: NotImplemented:{ResultType SEL}{TypedText _cmd} (80) 26 // CHECK-CC1: TypedefDecl:{TypedText BOOL} (50) 27 // CHECK-CC1: macro definition:{TypedText bool} (51) 28 // CHECK-CC1: macro definition:{TypedText NO} (65) 29 // CHECK-CC1: NotImplemented:{ResultType A *}{TypedText self} (34) [all …]
|
| H A D | complete-member-access.m | 45 // RUN: c-index-test -code-completion-at=%s:21:7 %s | FileCheck -check-prefix=CHECK-CC1 %s 46 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText prop1} 47 // CHECK-CC1: ObjCPropertyDecl:{ResultType float}{TypedText ProtoProp} 48 // CHECK-CC1: Completion contexts: 49 // CHECK-CC1-NEXT: Objective-C property access 50 // CHECK-CC1-NEXT: Container Kind: ObjCInterfaceDecl 51 // CHECK-CC1-NEXT: Container is complete 52 // CHECK-CC1-NEXT: Container USR: c:objc(cs)Int
|
| H A D | complete-recovery.m | 19 …_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s 2>%t | FileCheck -check-prefix=CHECK-CC1 %s 21 // CHECK-CC1: NotImplemented:{ResultType char[]}{TypedText @encode}{LeftParen (}{Placeholder type-n… 22 // CHECK-CC1-NOT: NotImplemented:{TypedText _Bool} 23 // CHECK-CC1: VarDecl:{ResultType A *}{TypedText a} 24 // CHECK-CC1: NotImplemented:{ResultType size_t}{TypedText sizeof}{LeftParen (}{Placeholder express… 27 …index-test -code-completion-at=%s:9:20 %s -fms-compatibility | FileCheck -check-prefix=CHECK-CC1 %s
|
| H A D | complete-at-exprstmt.m | 22 …MPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:4 %s | FileCheck -check-prefix=CHECK-CC1 %s 23 // CHECK-CC1: {TypedText encode}{LeftParen (}{Placeholder type-name}{RightParen )} 24 // CHECK-CC1: {TypedText protocol}{LeftParen (}{Placeholder protocol-name}{RightParen )} 25 // CHECK-CC1: {TypedText selector}{LeftParen (}{Placeholder selector}{RightParen )} 26 // CHECK-CC1: {TypedText synchronized}{HorizontalSpace }{LeftParen (}{Placeholder expression}{Righ… 27 // CHECK-CC1: {TypedText throw}{HorizontalSpace }{Placeholder expression} 28 // CHECK-CC1: {TypedText try}{LeftBrace {}{Placeholder statements}{RightBrace }}{Text @catch}{LeftP…
|
| H A D | complete-protocols.m | 17 // RUN: c-index-test -code-completion-at=%s:9:11 %s | FileCheck -check-prefix=CHECK-CC1 %s 18 // CHECK-CC1: ObjCProtocolDecl:{TypedText Protocol1} 19 // CHECK-CC1-NEXT: ObjCProtocolDecl:{TypedText Protocol2} 27 …LETION_CACHING=1 c-index-test -code-completion-at=%s:9:11 %s | FileCheck -check-prefix=CHECK-CC1 %s
|
| H A D | complete-at-directives.m | 8 …MPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:2:2 %s | FileCheck -check-prefix=CHECK-CC1 %s 9 // CHECK-CC1: {TypedText class}{HorizontalSpace }{Placeholder name} 10 // CHECK-CC1: {TypedText compatibility_alias}{HorizontalSpace }{Placeholder alias}{HorizontalSpace… 11 // CHECK-CC1: {TypedText implementation}{HorizontalSpace }{Placeholder class} 12 // CHECK-CC1: {TypedText interface}{HorizontalSpace }{Placeholder class} 13 // CHECK-CC1: {TypedText protocol}{HorizontalSpace }{Placeholder protocol}
|
| H A D | complete-pch.m | 20 …N: c-index-test -code-completion-at=%s:10:7 -include %t.h %s | FileCheck -check-prefix=CHECK-CC1 %s 21 // CHECK-CC1: ObjCClassMethodDecl:{ResultType int}{TypedText classMethod1:}{Placeholder (double)} 22 // CHECK-CC1: ObjCClassMethodDecl:{ResultType int}{TypedText classMethod2:}{Placeholder (float)} 23 // CHECK-CC1: ObjCClassMethodDecl:{ResultType int}{TypedText classMethod3:}{Placeholder (float)}
|
| H A D | complete-interfaces.m | 22 // RUN: c-index-test -code-completion-at=%s:6:12 %s | FileCheck -check-prefix=CHECK-CC1 %s 23 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int1} 24 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int2} 25 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int3} 26 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int4}
|
| H A D | complete-type-factors.m | 35 …-completion-at=%s:16:11 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC1 %s 36 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (32) 37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17) 38 // CHECK-CC1: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R… 39 // CHECK-CC1: FunctionDecl:{ResultType enum Priority}{TypedText func2}{LeftParen (}{Placeholder int… 40 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Green} (32) 41 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText High} (32) 42 // CHECK-CC1: ParmDecl:{ResultType int}{TypedText integer} (8) 43 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText Low} (32) 44 // CHECK-CC1: ParmDecl:{ResultType enum Priority}{TypedText priority} (17) [all …]
|
| H A D | complete-categories.m | 22 // RUN: c-index-test -code-completion-at=%s:12:16 %s | FileCheck -check-prefix=CHECK-CC1 %s 23 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat1} 24 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat2} 25 // CHECK-CC1: ObjCCategoryDecl:{TypedText Cat3}
|
| H A D | complete-property-getset.m | 22 // RUN: c-index-test -code-completion-at=%s:13:21 %s | FileCheck -check-prefix=CHECK-CC1 %s 23 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType int}{TypedText getter1} 24 // CHECK-CC1-NOT: getter2 25 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType int}{TypedText getter3}
|
| H A D | complete-objc-message-id.m | 50 // RUN: c-index-test -code-completion-at=%s:24:14 %s | FileCheck -check-prefix=CHECK-CC1 %s 51 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType id}{TypedText autorelease} 52 // CHECK-CC1-NOT: B_method 53 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType id}{TypedText retain}
|
| H A D | complete-properties.m | 59 // RUN: c-index-test -code-completion-at=%s:20:13 %s | FileCheck -check-prefix=CHECK-CC1 %s 60 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText Prop0} 61 // CHECK-CC1: ObjCPropertyDecl:{ResultType int}{TypedText Prop1} 62 // CHECK-CC1: ObjCPropertyDecl:{ResultType float}{TypedText Prop2} 63 // CHECK-CC1: ObjCPropertyDecl:{ResultType id}{TypedText Prop3} 64 // CHECK-CC1: ObjCPropertyDecl:{ResultType id}{TypedText Prop4}
|
| H A D | complete-lambdas.mm | 25 // RUN: c-index-test -code-completion-at=%s:14:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC1 … 26 // CHECK-CC1: ObjCInstanceMethodDecl:{ResultType id}{TypedText instanceMethod:}{Placeholder (int)}{… 42 … -code-completion-at=%s:18:10 -x objective-c++ -std=c++11 %s | FileCheck -check-prefix=CHECK-CC1 %s
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | objc-message.m | 26 …clang_cc1 -fsyntax-only -code-completion-at=%s:23:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s 27 // CHECK-CC1: categoryClassMethod 28 // CHECK-CC1: classMethod1:withKeyword: 29 // CHECK-CC1: classMethod2 30 // CHECK-CC1: new 31 // CHECK-CC1: protocolClassMethod
|
| H A D | objc-member-access.m | 18 …-completion-with-fixits -code-completion-at=%s:14:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s 19 // CHECK-CC1-NOT: [#int#]_bar 20 // CHECK-CC1-NOT: [#int#]_foo 21 // CHECK-CC1: [#int#]bar 22 // CHECK-CC1: [#int#]foo
|
| H A D | objc-message.mm | 41 …-fsyntax-only -std=c++11 -code-completion-at=%s:33:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s 42 // CHECK-CC1: categoryInstanceMethod : [#id#]categoryInstanceMethod 43 // CHECK-CC1: instanceMethod1 : [#id#]instanceMethod1 44 // CHECK-CC1: protocolInstanceMethod (InBase) : [#id#]protocolInstanceMethod
|
| H A D | documentation.m | 19 …ompletion-brief-comments -code-completion-at=%s:15:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s 20 // CHECK-CC1: instanceProp : [#id#]instanceProp : Instance! 21 // CHECK-CC1: setInstanceProp: : [#void#]setInstanceProp:<#(id)#> : Instance!
|