| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | method-undefined-warn-1.m | 4 - (void) meth; method 5 - (void) meth : (int) arg1; 14 - (void) meth {} method 15 - (void) meth : (int) arg2{} 20 - (void) meth; method 21 - (void) meth : (int) arg1; 30 - (void) meth {} method 31 - (void) meth : (int) arg2{} 36 - (void) meth; method 37 - (void) meth : (int) arg1; [all …]
|
| H A D | warn-category-method-deprecated.m | 5 - (void)meth; method 12 - (void)meth __attribute__((deprecated)); // expected-note {{'meth' has been explicitly marked depr… 16 [i meth]; // expected-warning {{'meth' is deprecated}}
|
| H A D | check-dup-decl-methods-1.m | 4 - (int) meth; method 11 - (int) meth; // expected-note {{previous declaration is here}} method 12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method 35 - (int) meth; // expected-note {{previous declaration is here}} method 36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
|
| H A D | undef-protocol-methods-1.m | 20 - (void) meth; // expected-note {{method 'meth' declared here}} method 21 - (void) meth : (int) arg1; // expected-note {{method 'meth:' declared here}}
|
| H A D | class-unavail-warning.m | 14 - (MyClass *)meth; // no error. method 21 - (MyClass *)meth; // expected-error {{unavailable}} method 25 - (MyClass *)meth; // no error. method in Cat1 106 -meth; method 110 -meth { method
|
| H A D | method-def-1.m | 4 - (int)meth; method 8 - (int) meth { return [self meth]; } method
|
| H A D | class-extension-dup-methods.m | 32 -(void)meth; // expected-note {{declared here}} method 36 -(void)meth; 39 @implementation Test // expected-warning {{method definition for 'meth' not found}}
|
| H A D | call-unavailable-init-in-self.m | 80 -(void)meth __attribute__((unavailable)); 84 -(void)meth {} method in Foo 85 -(void)call_it { [self meth]; }
|
| H A D | diagnose_if.m | 8 -(void)meth _diagnose_if(1, "don't use this", "warning"); // expected-note 1{{from 'diagnose_if'}} 13 [i meth]; // expected-warning {{don't use this}}
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | cursor-dynamic-call.mm | 3 virtual void meth(); field 8 this->meth(); 9 SB::meth(); 14 -(void)meth; method 25 [self meth]; 26 [super meth]; 34 ss->meth(); 35 [is meth]; 73 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call 75 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer [all …]
|
| H A D | overrides.m | 43 -(void)meth; method in cat 50 -(void)meth { } method 61 -(void)meth; method 72 -(void)meth; method in readwrite 88 -(void)meth; method 92 -(void)meth; method in cat 96 -(void)meth{} method 107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8] 114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13] 117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13] [all …]
|
| H A D | annotate-macro-args.m | 12 // CHECK1: Punctuation: "[" [9:9 - 9:10] ObjCMessageExpr=meth:2:8 14 // CHECK1: Identifier: "meth" [9:18 - 9:22] ObjCMessageExpr=meth:2:8 15 // CHECK1: Punctuation: "]" [9:22 - 9:23] ObjCMessageExpr=meth:2:8 20 // CHECK2: Identifier: "meth" [15:10 - 15:14] ObjCMessageExpr=meth:2:8
|
| H A D | pch-with-errors.m | 5 -(void)meth; method in cat 9 -(void)meth; method 21 [i meth]; 31 // CHECK-PARSE: pch-with-errors.m:{{.*}} ObjCMessageExpr=meth 34 // CHECK-INDEX: [indexEntityReference]: kind: objc-instance-method | name: meth
|
| H A D | usrs-cxx0x.cpp | 7 void meth() &; 8 void meth() &&; 9 void meth(int&&);
|
| H A D | annotate-macro-args.h | 2 +(void)meth; 9 MACRO([MyClass meth]); in test() 15 INVOKE(meth, MyClass); in test2()
|
| H A D | get-cursor-macro-args.h | 2 +(void)meth; 9 MACRO([MyClass meth]); in test() 15 INVOKE(meth, MyClass); in test2()
|
| H A D | get-cursor-macro-args.m | 21 // CHECK-NEXT: ObjCMessageExpr=meth:2:8 22 // CHECK-NEXT: ObjCMessageExpr=meth:2:8 23 // CHECK-NEXT: ObjCMessageExpr=meth:2:8 24 // CHECK-NEXT: ObjCMessageExpr=meth:2:8
|
| H A D | index-suppress-refs.m | 12 -(I*)meth; method in cat 18 -(void)meth:(B*)b :(id<P>)p; 35 // CHECK-NEXT: [indexDeclaration]: kind: objc-instance-method | name: meth 42 // CHECK-NEXT: [indexDeclaration]: kind: objc-instance-method | name: meth::
|
| H A D | index-file.cpp | 21 void meth(); 23 template <> void A<int>::meth();
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | method-redecls.m | 7 -(void)meth; method 8 -(void)meth; method 9 -(void)meth; method 15 -(void)meth { } method
|
| H A D | objc_import.m | 27 [p meth]; 31 [p meth];
|
| /llvm-project-15.0.7/clang/test/Index/Core/ |
| H A D | external-source-symbol-attr.m | 64 -(void)meth; method 77 -(void)meth; method 93 [i3 meth]; 94 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth | c:@M@modname@objc(cs)I3(im)meth | 97 [prot2 meth]; 98 …K: [[@LINE-1]]:10 | instance-method(protocol)/Swift | meth | c:@M@modname@objc(pl)ExtProt2(im)meth…
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | duplicate-mangled-name.cpp | 10 static void meth(); 12 void MyClass::meth() { } // expected-note {{previous}} in meth() function in MyClass
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | objc-alloc-init.m | 26 +(void)meth; class 34 +(void)meth { class 60 -(void)meth { method
|
| H A D | constant-non-fragile-ivar-offset.m | 17 -(void)meth { method 34 -(void)meth { method
|