Home
last modified time | relevance | path

Searched refs:super (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsuper.m29 [super instanceMethod];
40 (id)super.superClassMethod // not a cast of super: rdar://7853261
50 void f(id super) {
51 [super m];
53 void f0(int super) {
57 [super m]; // expected-error{{use of undeclared identifier 'super'}}
61 typedef Foo super; typedef
67 [super cMethod];
76 return super.X;
80 id super = 0;
[all …]
H A Dattr-designated-init.m68 return [super initB1];
95 return [super initB1];
123 return [super initB3];
143 return [super initB3];
158 return [super initB1];
220 return [super init];
312 return [super initB4];
366 return [super init];
388 return [super init];
401 return [super init];
[all …]
H A Dcall-super-2.m39 …return i + (size_t)[super class_func0]; // expected-warning {{class method '+class_func0' not fo…
44 …i += [(id <Func>)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an expre…
46 …return i + [(Class <Func>)super class_func0]; // // expected-error {{cannot cast 'super' (it isn't…
50 …return [(Object <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
54 …return [(Derived <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
72 …return i + (size_t)[super instance_func0]; // expected-warning {{'Object' may not respond to 'inst…
76 …return [(id <Func>)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't an exp…
80 …return [(Object <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't …
84 …return [(Derived <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't…
102 if (self = [super initWithInt: i]) {
[all …]
H A Dwarn-missing-super.m36 [super dealloc]; // Shouldn't warn
39 [super finalize]; // Shouldn't warn
44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
49 // CHECK-GC: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] call
53 // CHECK-GC-ONLY: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] ca…
57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
H A Dsuper-dealloc-attribute.m35 [super MyDealloc];
40 [super MyDealloc];
41 } // expected-warning {{method possibly missing a [super XXX] call}}
44 - (void) AnnotMyDeallocMeth{} // expected-warning {{method possibly missing a [super AnnotMyDealloc…
54 - (void) MyDeallocMeth {} // expected-warning {{method possibly missing a [super MyDeallocMeth] cal…
56 - (void) AnnotMeth{}; // expected-warning {{method possibly missing a [super AnnotMeth] call}}
65 - (void) MyDeallocMeth {} // expected-warning {{method possibly missing a [super MyDeallocMeth] cal…
67 - (void) AnnotMeth{}; // expected-warning {{method possibly missing a [super AnnotMeth] call}}
79 [super MyDeallocMeth]; // no-warning
84 [super registerClass:name]; // no-warning
[all …]
H A Dsuper-property-notation.m17 return super.classGetter;
21 int x = super.getter;
38 super.foo = foo; // expected-error {{'ClassBase' cannot use 'super' because it is a root class}}
39 …[super setFoo:foo]; // expected-error {{'ClassBase' cannot use 'super' because it is a root class}}
49 super.foo = foo; // must work with no warning
50 [super setFoo:foo]; // works with no warning
56 return super.foo; // expected-error {{expected identifier or '('}}
/llvm-project-15.0.7/clang/test/Analysis/
H A DDeallocUseAfterFreeErrors.m31 self = [super init];
38 [super dealloc]; // expected-note {{[super dealloc] called here}}
58 [super dealloc]; // expected-note {{[super dealloc] called here}}
76 [super dealloc]; // expected-note {{[super dealloc] called here}}
95 [super dealloc]; // expected-note {{[super dealloc] called here}}
108 [super dealloc]; // expected-note {{[super dealloc] called here}}
127 [super dealloc]; // expected-note {{[super dealloc] called here}}
146 [super dealloc]; // expected-note {{[super dealloc] called here}}
160 [super dealloc]; // expected-note {{[super dealloc] called here}}
175 [super dealloc]; // expected-note {{[super dealloc] called here}}
[all …]
H A Dsuperclass.m125 [super removeFromParentViewController];
133 [super viewDidAppear:animated];
137 [super viewDidDisappear:animated];
141 [super viewDidUnload];
145 [super viewDidLoad];
149 [super viewWillUnload];
156 [super viewWillAppear:animated];
164 [super didReceiveMemoryWarning];
191 return [super resignFirstResponder];
212 [super restoreStateWithCoder:coder];
[all …]
H A DDeallocMissingRelease.m30 self = [super init];
41 [super dealloc];
56 self = [super init];
62 [super dealloc];
176 [super dealloc];
241 [super dealloc];
400 [super dealloc];
419 [super dealloc];
499 [super dealloc];
517 [super dealloc];
[all …]
H A Dself-init.m87 self = [super init];
95 [super init];
103 if ((self = [super init]))
152 [super init];
170 [super init];
182 somePtr = [super init];
189 somePtr = [super init];
195 self = [super init];
205 self = [super init];
211 [super init];
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Dsuper-self.m1 // RUN: %check_clang_tidy %s objc-super-self %t
14 return [super self];
16 // CHECK-FIXES: return [super init];
20 self = [super self];
22 // CHECK-FIXES: self = [super init];
29 #define INITIALIZE() [super self] category
37 #define INITIALIZER_IMPL() return [super self]
48 return [super INITIALIZER_METHOD];
53 #define RECEIVER super
62 return [super self];
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/objc/direct-dispatch-step/
H A Dstepping-tests.m13 return [super alloc];
18 return [super allocWithZone: z];
23 return [super new];
28 return [super init];
33 return [super self];
38 return [super class];
43 return [super isKindOfClass: c];
53 return [super retain];
58 [super release];
63 return [super autorelease];
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dsuper-dotsyntax-property.m24 super.classGetter = 100;
25 return super.classGetter;
29 super.getter = 200;
30 int x = super.getter;
33 super.parent = arg + super.parent;
H A Dmessages-2.m88 [ super printThisInt: arg0*2 andThatFloat: arg1*2 andADouble: arg2*2 andAPoint: arg3 ];
93 [ super printThisSize: arg0 ];
96 return [ super returnAFloat ]*2;
99 return [ super returnADouble ]*2;
102 MyPoint x = [ super returnAPoint ];
108 MySize x = [ super returnASize ];
122 [ super printThisSize: arg0 ];
125 return [ super returnAFloat ]*2;
128 return [ super returnADouble ]*2;
131 MyPoint x = [ super returnAPoint ];
[all …]
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dsupport.py46 super(LoggingResult, self).__init__()
50 super(LoggingResult, self).startTest(test)
54 super(LoggingResult, self).startTestRun()
58 super(LoggingResult, self).stopTest(test)
62 super(LoggingResult, self).stopTestRun()
66 super(LoggingResult, self).addFailure(*args)
70 super(LoggingResult, self).addSuccess(*args)
74 super(LoggingResult, self).addError(*args)
78 super(LoggingResult, self).addSkip(*args)
82 super(LoggingResult, self).addExpectedFailure(*args)
[all …]
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_pdl_ops_ext.py67 super().__init__(name, args, loc=loc, ip=ip)
82 super().__init__(results, name, args, loc=loc, ip=ip)
96 super().__init__(result, type=type, value=value, loc=loc, ip=ip)
108 super().__init__(operation, loc=loc, ip=ip)
121 super().__init__(result, type=type, loc=loc, ip=ip)
134 super().__init__(result, type=types, loc=loc, ip=ip)
210 super().__init__(result, parent, index, loc=loc, ip=ip)
225 super().__init__(result, parent, index=index, loc=loc, ip=ip)
241 super().__init__(args, root=root,name=name, loc=loc, ip=ip)
264 super().__init__(result, type=type, loc=loc, ip=ip)
[all …]
H A D_transform_ops_ext.py24 super().__init__(
39 super().__init__(
54 super().__init__(
70 super().__init__(
96 super().__init__(results_=results, root=root)
115 super().__init__(
137 super().__init__(_get_op_results_or_values(operands), loc=loc, ip=ip)
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dpython.h25 const vector<string> &super);
27 int pos, bool upcast, const string &super,
30 bool first_is_ctx, int n, const vector<string> &super);
51 vector<string> super);
60 const function_set &methods, vector<string> super);
62 int value, const string &name, const vector<string> &super);
64 const vector<string> &super);
H A Dpython.cc144 type2python(super).c_str()); in print_type_check()
169 const vector<string> &super) in print_type_checks() argument
181 super[0], cname, n); in print_type_checks()
540 num_params - drop_user, super); in print_method()
656 vector<string> super) in print_method() argument
664 print_method(clazz, any_method, super); in print_method()
692 const vector<string> &super) in print_set_enum() argument
791 if (super.size() > 0) { in print_class_header()
1026 if (done.find(super[i]) == done.end()) in print()
1027 print(classes[super[i]]); in print()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-super.m20 [super add:a to:b];
24 [super selector:condition first:a second:b];
25 super selector:condition first:a second:b];
38 [super multiply:a by:b];
42 // Check "super" completion as a message receiver.
44 // CHECK-ADD-RECEIVER: ObjCInstanceMethodDecl:{ResultType void}{TypedText super}{HorizontalSpace }…
49 // Check "super" completion at the first identifier
59 // Check "super" completion at the second identifier
66 // Check "super" completion at the third identifier
70 // Check "super" completion with missing '['.
[all …]
/llvm-project-15.0.7/libcxx/utils/libcxx/test/
H A Dtarget_info.py51 super(DarwinLocalTI, self).__init__(full_config)
74 super(FreeBSDLocalTI, self).__init__(full_config)
82 super(NetBSDLocalTI, self).__init__(full_config)
91 super(LinuxLocalTI, self).__init__(full_config)
132 super(LinuxRemoteTI, self).__init__(full_config)
136 super(WindowsLocalTI, self).__init__(full_config)
143 super(ZOSLocalTI, self).__init__(full_config)
150 super(MingwLocalTI, self).__init__(full_config)
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/utils/
H A DExceptions.py24 super(DebuggerException, self).__init__(msg)
41 super(NotYetLoadedDebuggerException,
49 super(CommandParseError, self).__init__(*args, **kwargs)
62 super(NonFloatValueInCommand, self).__init__(*args, **kwargs)
75 super(BuildScriptException, self).__init__(*args, **kwargs)
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dtest_result.py64 super(LLDBTestResult, self).__init__(*args)
86 return '%sConfig=%s-%s' % (super(LLDBTestResult,
92 return super(LLDBTestResult, self)._exc_info_to_string(err, test)
182 super(LLDBTestResult, self).startTest(test)
192 super(LLDBTestResult, self).addSuccess(test)
216 super(LLDBTestResult, self).addError(test, err)
227 super(LLDBTestResult, self).addCleanupError(test, err)
244 super(LLDBTestResult, self).addFailure(test, err)
262 super(LLDBTestResult, self).addExpectedFailure(test, err, bugnumber)
272 super(LLDBTestResult, self).addSkip(test, reason)
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dobjcmt-property-dot-syntax.m.result47 - (NSString *)description { return super.description; }
56 super.count = 100;
58 super.count = array.count;
60 super.PropertyReturnsPObj.count = array.count;
62 super.count = (i1+i2*i3 - 100);
64 return super.count -
67 super.PropertyReturnsPObj.count +
H A Dobjcmt-property-dot-syntax.m47 - (NSString *)description { return [super description]; }
56 [super setCount : 100];
58 [super setCount : [array count]];
60 [[super PropertyReturnsPObj] setCount : [array count]];
62 [super setCount : (i1+i2*i3 - 100)];
64 return [super count] -
67 [[super PropertyReturnsPObj] count] +

12345678910>>...18