complete-method-decls.m revision d43dd83a973c585c39a9a5e5e904282bc2371986
15c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)/* Note: the RUN lines are near the end of the file, since line/column 25c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) matter for this test. */ 3e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles) 45c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@protocol P1 55c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)abc; 65c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)initWithInt:(int)x; 75c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)initWithTwoInts:(int)x second:(int)y; 85c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)getInt; 95c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)getSelf; 105c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 115c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 125c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@protocol P2<P1> 135c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)+ (id)alloc; 145c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 155c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 165c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface A <P1> 175c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)init; 185c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)getValue; 195c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 205c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 215c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface B : A<P2> 225c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)initWithInt:(int)x; 235c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)getSecondValue; 245c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)getSelf; 255c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)setValue:(int)x; 265c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 275c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 285c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface B (FooBar) 295c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)categoryFunction:(int)x; 305c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 315c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 325c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@implementation B 335c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)getSecondValue { return 0; } 345c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (id)init { return self; } 35197021e6b966cfb06891637935ef33fff06433d1Ben Murdoch- (id)getSelf { return self; } 3653e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)- (void)setValue:(int)x { } 371e202183a5dc46166763171984b285173f8585e5Torne (Richard Coles)- (id)initWithTwoInts:(int)x second:(int)y { return self; } 38f91f5fa1608c2cdd9af1842fb5dadbe78275be2aBo Liu+ (id)alloc { return 0; } 395c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 40591b958dee2cf159d33a0b931e6231072eaf38d5Ben Murdoch 41591b958dee2cf159d33a0b931e6231072eaf38d5Ben Murdoch@implementation B (FooBar) 42591b958dee2cf159d33a0b931e6231072eaf38d5Ben Murdoch- (id)categoryFunction:(int)x { return self; } 43f91f5fa1608c2cdd9af1842fb5dadbe78275be2aBo Liu@end 445c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 455c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface C 465c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)first:(int)x second:(float)y third:(double)z; 47c1847b1379d12d0e05df27436bf19a9b1bf12deaTorne (Richard Coles)- (id)first:(int)xx second2:(float)y2 third:(double)z; 48e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)- (void*)first:(int)xxx second3:(float)y3 third:(double)z; 495c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 505c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles) 515c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface D 525c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)first:(int)x second2:(float)y third:(double)z; 535c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 5453e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles) 555c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@implementation D 565c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (int)first:(int)x second2:(float)y third:(double)z { } 575c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 58e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles) 595c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@interface Passing 605c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)- (oneway void)method:(in id x); 615c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)@end 62e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles) 63e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:17:3 %s | FileCheck -check-prefix=CHECK-CC1 %s 64e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText abc} 655c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText getInt} 667242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText getSelf} 677242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText initWithInt}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x} 687242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC1: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText initWithTwoInts}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text y} 697242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// RUN: c-index-test -code-completion-at=%s:17:7 %s | FileCheck -check-prefix=CHECK-CC2 %s 707242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC2: ObjCInstanceMethodDecl:{TypedText abc} 717242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC2-NEXT: ObjCInstanceMethodDecl:{TypedText getSelf} 727242dc3dbeb210b5e876a3c42d1ec1a667fc621aPrimiano Tucci// CHECK-CC2: ObjCInstanceMethodDecl:{TypedText initWithInt}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x} 735c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC2: ObjCInstanceMethodDecl:{TypedText initWithTwoInts}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text y} 74e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:24:7 %s | FileCheck -check-prefix=CHECK-CC3 %s 755c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC3: ObjCInstanceMethodDecl:{TypedText abc} 765c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC3-NEXT: ObjCInstanceMethodDecl:{TypedText getSelf} 775c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC3: ObjCInstanceMethodDecl:{TypedText init} 785c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC3: ObjCInstanceMethodDecl:{TypedText initWithInt}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x} 7953e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CC3: ObjCInstanceMethodDecl:{TypedText initWithTwoInts}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text y} 8053e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:33:3 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC4 %s 81e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText abc} 8253e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText getInt}{HorizontalSpace }{LeftBrace {}{VerticalSpace 8353e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText getSecondValue}{HorizontalSpace }{LeftBrace {}{VerticalSpace 84a854de003a23bf3c7f95ec0f8154ada64092ff5cTorne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText getSelf}{HorizontalSpace }{LeftBrace {}{VerticalSpace 8553e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText initWithInt}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{LeftBrace {}{VerticalSpace 8653e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText initWithTwoInts}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text y}{HorizontalSpace }{LeftBrace {}{VerticalSpace 875c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC4: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText setValue}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{LeftBrace {}{VerticalSpace 885c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:33:8 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC5 %s 89e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC5: ObjCInstanceMethodDecl:{TypedText getInt}{HorizontalSpace }{LeftBrace {}{VerticalSpace 90e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC5: ObjCInstanceMethodDecl:{TypedText getSecondValue}{HorizontalSpace }{LeftBrace {}{VerticalSpace 91e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC5-NOT: {TypedText getSelf}{HorizontalSpace }{LeftBrace {}{VerticalSpace 9209380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC5: ObjCInstanceMethodDecl:{TypedText setValue}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{LeftBrace {}{VerticalSpace 9309380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:37:7 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC6 %s 9409380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC6: ObjCInstanceMethodDecl:{TypedText abc}{HorizontalSpace }{LeftBrace {}{VerticalSpace 95e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CC6-NOT: getSelf 9609380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC6: ObjCInstanceMethodDecl:{TypedText initWithInt}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{LeftBrace {}{VerticalSpace 9709380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC6: ObjCInstanceMethodDecl:{TypedText initWithTwoInts}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text y}{HorizontalSpace }{LeftBrace {}{VerticalSpace 98e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:42:3 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC7 %s 9909380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC7: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText categoryFunction}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{LeftBrace {}{VerticalSpace 10009380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:52:21 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC8 %s 101c0e19a689c8ac22cdc96b291a8d33a5d3b0b34a4Torne (Richard Coles)// CHECK-CC8: ObjCInstanceMethodDecl:{ResultType id}{Informative first:}{TypedText second2:}{Text (float)y2}{HorizontalSpace }{Text third:}{Text (double)z} (20) 102a9984bf9ddc3cf73fdae3f29134a2bab379e7029Ben Murdoch// CHECK-CC8: ObjCInstanceMethodDecl:{ResultType void *}{Informative first:}{TypedText second3:}{Text (float)y3}{HorizontalSpace }{Text third:}{Text (double)z} (20) 1035c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CC8: ObjCInstanceMethodDecl:{ResultType int}{Informative first:}{TypedText second:}{Text (float)y}{HorizontalSpace }{Text third:}{Text (double)z} (5) 1045c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:52:19 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC9 %s 10509380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC9: NotImplemented:{TypedText x} (30) 10609380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC9: NotImplemented:{TypedText xx} (30) 10709380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CC9: NotImplemented:{TypedText xxx} (30) 108197021e6b966cfb06891637935ef33fff06433d1Ben Murdoch// RUN: c-index-test -code-completion-at=%s:52:36 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CCA %s 10909380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCA: NotImplemented:{TypedText y2} (30) 11009380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:56:3 %s | FileCheck -check-prefix=CHECK-CCB %s 11109380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCB: ObjCInstanceMethodDecl:{LeftParen (}{Text int}{RightParen )}{TypedText first}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second2}{Colon :}{LeftParen (}{Text float}{RightParen )}{Text y}{HorizontalSpace }{Text third}{Colon :}{LeftParen (}{Text double}{RightParen )}{Text z} (30) 11209380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:56:8 %s | FileCheck -check-prefix=CHECK-CCC %s 113e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CCC: ObjCInstanceMethodDecl:{TypedText first}{Colon :}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalSpace }{Text second2}{Colon :}{LeftParen (}{Text float}{RightParen )}{Text y}{HorizontalSpace }{Text third}{Colon :}{LeftParen (}{Text double}{RightParen )}{Text z} (30) 11409380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:56:21 %s | FileCheck -check-prefix=CHECK-CCD %s 11509380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// FIXME: These results could be more precise. 11609380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCD: ObjCInstanceMethodDecl:{ResultType id}{Informative first:}{TypedText second2:}{Text (float)y2}{HorizontalSpace }{Text third:}{Text (double)z} (20) 11709380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCD: ObjCInstanceMethodDecl:{ResultType int}{Informative first:}{TypedText second2:}{Text (float)y}{HorizontalSpace }{Text third:}{Text (double)z} (5) 11809380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCD: ObjCInstanceMethodDecl:{ResultType void *}{Informative first:}{TypedText second3:}{Text (float)y3}{HorizontalSpace }{Text third:}{Text (double)z} (20) 11909380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCD: ObjCInstanceMethodDecl:{ResultType int}{Informative first:}{TypedText second:}{Text (float)y}{HorizontalSpace }{Text third:}{Text (double)z} (5) 12009380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:56:38 %s | FileCheck -check-prefix=CHECK-CCE %s 12109380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCE: ObjCInstanceMethodDecl:{ResultType id}{Informative first:}{Informative second2:}{TypedText third:}{Text (double)z} (20) 1225c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCE: ObjCInstanceMethodDecl:{ResultType int}{Informative first:}{Informative second2:}{TypedText third:}{Text (double)z} (5) 1235c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:60:4 %s | FileCheck -check-prefix=CHECK-CCF %s 12409380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCF: ObjCInterfaceDecl:{TypedText A} (65) 12509380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCF: ObjCInterfaceDecl:{TypedText B} (65) 1265c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText bycopy} (30) 12709380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText byref} (30) 12809380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText in} (30) 12909380295ba73501a205346becac22c6978e4671dTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText inout} (30) 1305c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText oneway} (30) 131926b001d589ce2f10facb93dd4b87578ea35a855Torne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText out} (30) 132926b001d589ce2f10facb93dd4b87578ea35a855Torne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText unsigned} (65) 1335c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText void} (65) 1345c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCF: NotImplemented:{TypedText volatile} (65) 1355c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:60:11 %s | FileCheck -check-prefix=CHECK-CCG %s 1365c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: ObjCInterfaceDecl:{TypedText A} (65) 1375c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: ObjCInterfaceDecl:{TypedText B} (65) 1385c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG-NOT: NotImplemented:{TypedText bycopy} (30) 1395c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG-NOT: NotImplemented:{TypedText byref} (30) 1405c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText in} (30) 141c1847b1379d12d0e05df27436bf19a9b1bf12deaTorne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText inout} (30) 142c1847b1379d12d0e05df27436bf19a9b1bf12deaTorne (Richard Coles)// CHECK-CCG-NOT: NotImplemented:{TypedText oneway} (30) 1435c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText out} (30) 1445c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText unsigned} (65) 1455c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText void} (65) 146e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CCG: NotImplemented:{TypedText volatile} (65) 1475c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:60:24 %s | FileCheck -check-prefix=CHECK-CCF %s 1485c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// RUN: c-index-test -code-completion-at=%s:60:26 %s | FileCheck -check-prefix=CHECK-CCH %s 1495c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCH: ObjCInterfaceDecl:{TypedText A} (65) 1505c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCH: ObjCInterfaceDecl:{TypedText B} (65) 1515c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText bycopy} (30) 1525c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText byref} (30) 15353e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CCH-NOT: NotImplemented:{TypedText in} (30) 15453e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText inout} (30) 1555267f701546148b83dfbe1d151cb184385bb5c22Torne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText oneway} (30) 15653e740f4a82e17f3ae59772501622dc354e42336Torne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText out} (30) 1575c87bf8b86a7c82ef50fb7a89697d8e02e2553beTorne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText unsigned} (65) 158e38fbeeb576b5094e34e038ab88d9d6a5c5c2214Torne (Richard Coles)// CHECK-CCH: NotImplemented:{TypedText void} (65) 159591b958dee2cf159d33a0b931e6231072eaf38d5Ben Murdoch// CHECK-CCH: NotImplemented:{TypedText volatile} (65) 160591b958dee2cf159d33a0b931e6231072eaf38d5Ben Murdoch