Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dmethod-direct.m9 …); // expected-error {{'objc_direct' attribute cannot be applied to methods declared in an Ob…
10 …rect)); // expected-error {{'objc_direct' attribute cannot be applied to methods declared in an Ob…
62 …ute__((objc_direct)); // expected-error {{methods that override superclass methods c…
63 …ttribute__((objc_direct)); // expected-error {{methods that override superclass methods c…
64 - (void)protoMethod __attribute__((objc_direct)); // expected-error {{methods that im…
65 + (void)classProtoMethod __attribute__((objc_direct)); // expected-error {{methods that im…
66 … __attribute__((objc_direct)); // expected-error {{methods that override superclass methods c…
67 …gular __attribute__((objc_direct)); // expected-error {{methods that override superclass methods c…
68 …__attribute__((objc_direct)); // expected-error {{methods that override superclass methods c…
69 …ular __attribute__((objc_direct)); // expected-error {{methods that override superclass methods c…
[all …]
H A Dwarn-strict-selector-match.m11 int main(void) { [(id)0 method]; } // expected-warning {{multiple methods named 'method' found}}
27 // expected-warning {{multiple methods named 'setWindow:' found}}
28 [obj2 setWindow:0]; // expected-warning {{multiple methods named 'setWindow:' found}}
57 …NTGridDataObject *result = [(id)0 initWithData:data]; // expected-warning {{multiple methods named…
93 …return [[[self class] alloc] initWithType:3]; // expected-warning {{multiple methods named 'initWi…
H A Dprotocol-implementation-inherited.m20 // protocol is inherited, and extended methods are implemented.
33 // Interface conforms to a protocol whose methods are provided by an
46 // Interface conforms to a protocol whose methods are provided by a base class.
H A Dattr-cf_returns.m13 …ected-warning{{'cf_returns_retained' attribute only applies to functions, methods, and parameters}}
14 …d-warning{{'cf_returns_not_retained' attribute only applies to functions, methods, and parameters}}
25 …ED; // expected-warning{{'cf_returns_retained' attribute only applies to methods that return a poi…
26 …ED; // expected-warning{{'cf_returns_retained' attribute only applies to methods that return a poi…
H A Dmethod-lookup-3.m31 Abstract *l = [a0 x]; // expected-warning {{multiple methods named 'x' found}}
35 Abstract *l = [a0 y]; // expected-warning {{multiple methods named 'y' found}}
39 Abstract *l = [a0 z]; // expected-warning {{multiple methods named 'z' found}}
72 (void) [x test4]; //expected-warning {{multiple methods named 'test4' found}}
H A Dibaction.m7 …d:(id)msg; // expected-warning{{'ibaction' attribute only applies to Objective-C instance methods}}
12 …(id)msg {} // expected-warning{{'ibaction' attribute only applies to Objective-C instance methods}}
H A Darc.m209 - (Test8_complete*) init50; // expected-error {{init methods must return a type related to the rece…
210 - (Test8_complete*) init51; // expected-error {{init methods must return a type related to the rece…
211 - (Test8_complete*) init52; // expected-error {{init methods must return a type related to the rece…
212 - (Test8_complete*) init53; // expected-error {{init methods must return a type related to the rece…
213 - (Test8_complete*) init54; // expected-error {{init methods must return a type related to the rece…
214 - (Test8_complete*) init55; // expected-error {{init methods must return a type related to the rece…
271 - (Test9_incomplete*) init1; // expected-error {{init methods must return a type related to the rec…
408 [v test16_2: 0]; // expected-error {{multiple methods named}}
409 [v test16_3: 0]; // expected-error {{multiple methods named}}
410 [v test16_4: 0]; // expected-error {{multiple methods named}}
[all …]
H A Dinstancetype.m45 // Test that message sends to instancetype methods have the right type.
47 // instancetype on class methods
51 // instancetype on instance methods
55 // instancetype on class methods using protocols
61 // instancetype on instance methods
84 // Test that message sends to super methods have the right type.
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp305 for (auto &method : methods) { in finalize()
311 methods.clear(); in finalize()
347 Method *insertAndPruneMethods(std::vector<std::unique_ptr<Method>> &methods, in insertAndPruneMethods() argument
349 if (llvm::any_of(methods, [&](auto &method) { in insertAndPruneMethods()
354 llvm::erase_if(methods, [&](auto &method) { in insertAndPruneMethods()
357 methods.push_back(std::move(newMethod)); in insertAndPruneMethods()
358 return methods.back().get(); in insertAndPruneMethods()
362 return insertAndPruneMethods(methods, in addMethodAndPrune()
368 methods, std::make_unique<Constructor>(std::move(newCtor)))); in addConstructorAndPrune()
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dchecking.m231 - (Test8_complete*) init50; // expected-error {{init methods must return a type related to the rece…
232 - (Test8_complete*) init51; // expected-error {{init methods must return a type related to the rece…
233 - (Test8_complete*) init52; // expected-error {{init methods must return a type related to the rece…
234 - (Test8_complete*) init53; // expected-error {{init methods must return a type related to the rece…
235 - (Test8_complete*) init54; // expected-error {{init methods must return a type related to the rece…
236 - (Test8_complete*) init55; // expected-error {{init methods must return a type related to the rece…
274 - (Test8_complete*) init05 { return 0; } // expected-error {{init methods must return a type relate…
275 - (Test8_complete*) init15 { return 0; } // expected-error {{init methods must return a type relate…
276 - (Test8_complete*) init25 { return 0; } // expected-error {{init methods must return a type relate…
277 - (Test8_complete*) init35 { return 0; } // expected-error {{init methods must return a type relate…
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dcpp.cc104 clazz.methods[name].insert(fd); in copy_method()
162 if (clazz.methods.count(name) == 0) in is_overridden()
170 clazz.methods[name].erase(m); in is_overridden()
184 for (auto fd : methods) { in copy_methods()
203 for (const auto &kvp : super.methods) { in copy_super_methods()
205 const auto &methods = kvp.second; in copy_super_methods() local
287 for (const auto &kvp : clazz.methods) in print_methods()
419 const function_set &methods) in single_local() argument
424 for (const auto &fn : methods) { in single_local()
471 for (const auto &fd : methods) in print_method_group()
[all …]
H A Dpython.cc655 const string &fullname, const function_set &methods, in print_method() argument
662 any_method = *methods.begin(); in print_method()
663 if (methods.size() == 1 && !is_overload(any_method)) { in print_method()
673 for (it = methods.begin(); it != methods.end(); ++it) in print_method()
985 for (it = clazz.methods.begin(); it != clazz.methods.end(); ++it) in print_method_types()
1056 for (it = clazz.methods.begin(); it != clazz.methods.end(); ++it) in print()
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dgnu-method-only-once.m4 // Clang 9 or 10 changed the handling of method lists so that methods provided
11 // methods from the property and so we should synthesize only one method list,
12 // with precisely two methods on it.
21 // Check that the method list has precisely 2 methods.
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dinstancetype-test.mm46 // Test that message sends to instancetype methods have the right type.
48 // instancetype on class methods
52 // instancetype on instance methods
56 // instancetype on class methods using protocols
60 // instancetype on instance methods
/llvm-project-15.0.7/llvm/docs/
H A DHowToUseAttributes.rst21 uniqued. You use the ``Attribute::get`` methods to create a new ``Attribute``
39 methods on the Attribute class.
49 are at indices 1, ..., n (where 'n' is the number of parameters). Most methods
53 ``AttributeList`` through the ``AttributeList::get`` methods. You can add and
59 methods (e.g. ``Raw``, ``getRawPointer``, etc.). These methods break
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestInterfaces.td18 let methods = [
59 let methods = [
76 let methods = [
84 let methods = [
93 let methods = [
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dwarn-strict-selector-match.mm16 [r meth1:r]; // expected-warning {{multiple methods named 'meth1:' found}}
17 [r window]; // expected-warning {{multiple methods named 'window' found}}
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dparent-virtual-call.rst6 Detects and fixes calls to grand-...parent virtual methods instead of calls
7 to overridden parent's virtual methods.
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-osobject.mm11 …{{'os_returns_retained' attribute only applies to functions, Objective-C methods, Objective-C prop…
13 …{{'os_returns_retained' attribute only applies to functions, Objective-C methods, Objective-C prop…
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/IR/
H A DAllocationOpInterface.td9 // Defines the interface with allocation-related methods. It is used by the
25 This interface provides general allocation-related methods that are
32 let methods = [
/llvm-project-15.0.7/llvm/test/CodeGen/AVR/
H A Drust-avr-bug-112.ll30 br label %"core::char::methods::<impl char>::len_utf8.exit"
36 br label %"core::char::methods::<impl char>::len_utf8.exit"
38 "core::char::methods::<impl char>::len_utf8.exit":
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dinefficient-algorithm.rst9 Associative containers implement some of the algorithms as methods which
10 should be preferred to the algorithms in the algorithm header. The methods
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dobjc-avoid-nsobject-new.rst10 class implementations, preferring ``+alloc`` and ``-init`` methods to
20 Instead, code should use ``+alloc``/``-init`` or class factory methods.
/llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenMP/
H A DOpenMPOpsInterfaces.td26 let methods = [
41 let methods = [
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Dnsinvocation-argument-lifetime.rst6 Finds calls to ``NSInvocation`` methods under ARC that don't have proper
8 to the ``NSInvocation`` methods ``getArgument:atIndex:`` and

12345678910>>...15