Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 901) sorted by relevance

12345678910>>...37

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpInterfacesGen.cpp234 [&](const InterfaceMethod &method) { os << method.getName(); }); in emitModelDecl() argument
261 if (method.isStatic()) in emitModelDecl()
277 if (!method.isStatic()) in emitModelDecl()
297 if (method.isStatic()) in emitModelMethodsDef()
306 if (method.isStatic()) in emitModelMethodsDef()
330 if (method.isStatic()) in emitModelMethodsDef()
337 if (!method.isStatic()) in emitModelMethodsDef()
369 if (!method.isStatic()) in emitModelMethodsDef()
527 if (method.isStatic()) in emitInterfaceDoc()
529 emitCPPType(method.getReturnType(), os) << method.getName() << '('; in emitInterfaceDoc()
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dtemplate_cpp.cc1602 print_method_sig(method, instance_sig(method, instance), true); in print_get_method()
1813 const Method &method) in print_static_method() argument
1879 const Method &method) in print_constructor() argument
2384 print_method_sig(method, instance_sig(method, instance), true); in print_matching_method()
2415 const Method &method) in print_at_method() argument
2464 const Method &method) in print_special_member_method() argument
2473 const Method &method) in print_type_named_member_method() argument
2541 return method.name; in callback_name()
2568 if (print_member_method_with_name(method, method.name)) in print_member_method()
2570 if (print_member_method_with_name(method, name_without_return(method))) in print_member_method()
[all …]
H A Dplain_cpp.cc532 FunctionDecl *method) in print_persistent_callback_prototype() argument
561 FunctionDecl *method) in print_persistent_callback_setter_prototype() argument
587 FunctionDecl *method) in print_persistent_callback_data() argument
932 if (method.callback) in print_method()
1237 const Method &method) in print_argument_validity_check() argument
1349 const Method &method) in print_persistent_callback_exceptional_execution_check() argument
1386 const Method &method) in print_exceptional_execution_check() argument
1396 if (method.callback) { in print_exceptional_execution_check()
1452 const Method &method) in print_set_persistent_callback() argument
1509 const Method &method) in print_method_return() argument
[all …]
H A Dcpp.cc302 print_method(method); in print_set_enums()
378 Method method(clazz, fd, name); in print_method_variants() local
381 if (method.clazz.copied_from.count(method.fd) == 0) { in print_method_variants()
382 print_method(method); in print_method_variants()
386 auto super = method.clazz.copied_from.at(method.fd); in print_method_variants()
444 Method method(clazz, fd, name); in print_descendent_overloads() local
556 if (method.is_subclass_mutator()) in return_type()
648 os << method.name; in print_method_header()
658 if (!method.param_needs_copy(i)) in print_method_header()
937 if (generator::is_constructor(method)) in get_kind()
[all …]
H A Dplain_cpp.h57 std::string get_return_type(const Method &method);
78 void print_persistent_callback_prototype(FunctionDecl *method);
80 void print_full_method_header(const Method &method);
105 void print_persistent_callback_data(FunctionDecl *method);
107 virtual void print_method(const Method &method) override;
122 virtual void print_method(const Method &method) override;
136 void print_set_persistent_callback(const Method &method);
138 void print_argument_validity_check(const Method &method);
139 void print_save_ctx(const Method &method);
141 void print_exceptional_execution_check(const Method &method);
[all …]
/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dmethod-target.cu10 void method() {} // dev-note {{'method' declared here}} in method() function
14 s.method(); // dev-error {{reference to __host__ function 'method' in __device__ function}} in foo1()
21 …void method(int) {} // expected-note {{candidate function not viable: call to __host__ function fr… in method() function
22 …void method(float) {} // expected-note {{candidate function not viable: call to __host__ function … in method() function
26 s.method(f); // expected-error {{no matching member function}} in foo2()
33 __device__ void method() {} // host-note {{'method' declared here}} in method() function
37 s.method(); // host-error {{reference to __device__ function 'method' in __host__ function}} in foo3()
44 __device__ void method() {} // host-note {{'method' declared here}} in method() function
48 …s.method(); // host-error {{reference to __device__ function 'method' in __host__ __device__ funct… in foo4()
67 void method() {} // dev-note {{'method' declared here}}; in method() function
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-availability-1.m27 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. method
37 [a method]; // expected-warning{{'method' is deprecated: first deprecated in macOS 10.2}}
38 [b method]; // no-warning
44 // using a deprecated method when that method is re-implemented in a
45 // subclass where the redeclared method is not deprecated.
51 - (void) method; method
55 - (void) method; method
59 - (void) method { method
60 [super method]; // expected-warning {{'method' is deprecated: first deprecated in macOS 10.2}}
65 - (void) method { method
[all …]
H A Dwarn-superclass-method-mismatch.m1 // RUN: %clang_cc1 -fsyntax-only -Wsuper-class-method-mismatch -verify %s
10 -(void) method: (int*) x; // expected-note {{previous declaration is here}}
24 -(void) method: (struct A*) a; // expected-warning {{method parameter type 'struct A *' does not ma…
25 …id) method1: (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super cl…
27 …(Sub *)x2 : (float)x3; // expected-warning {{method parameter type 'Sub *' does not match super cl…
29 …(float*)f1 : (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super cl…
30 …: (int) x : (float) d; // expected-warning {{method parameter type 'float' does not match super cl…
31 …(int) x : (double) d; // expected-warning {{method parameter type 'double' does not match super cl…
36 …[base method:&x]; // warn. if base is actually 'Sub' it will use -[Sub method] with wrong argumen…
H A DDoubleMethod.m1 // RUN: %clang_cc1 -Wduplicate-method-match -fsyntax-only -verify -Wno-objc-root-class %s
8 - (void) method; // expected-note {{previous declaration is here}} method
9 - (void) method; // expected-warning {{multiple declarations of method 'method' found and ignored}} method
13 - (void) method {;} // expected-note {{previous declaration is here}} method
14 - (void) method {;} // expected-error {{duplicate declaration of method 'method'}} method
H A Dmethod-undefined-warn-1.m6 - (int) int_meth; // expected-note {{method 'int_meth' declared here}}
7 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}}
8 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}}
11 @implementation INTF // expected-warning {{method definition for 'int_meth' not found}} \
12 // expected-warning {{method definition for 'cls_meth' not found}} \
13 // expected-warning {{method definition for 'cls_meth1:' not found}}
22 - (int) int_meth; // expected-note {{method 'int_meth' declared here}}
23 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}}
24 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}}
27 @implementation INTF1 // expected-warning {{method definition for 'int_meth' not found}} \
[all …]
H A Dundef-protocol-methods-1.m4 - (void) P1proto; // expected-note {{method 'P1proto' declared here}}
5 + (void) ClsP1Proto; // expected-note {{method 'ClsP1Proto' declared here}}
9 - (void) P2proto; // expected-note {{method 'P2proto' declared here}}
10 + (void) ClsP2Proto; // expected-note {{method 'ClsP2Proto' declared here}}
14 - (void) P3proto; // expected-note {{method 'P3proto' declared here}}
15 + (void) ClsP3Proto; // expected-note {{method 'ClsP3Proto' declared here}}
20 - (void) meth; // expected-note {{method 'meth' declared here}}
21 - (void) meth : (int) arg1; // expected-note {{method 'meth:' declared here}}
22 + (void) cls_meth : (int) arg1; // expected-note {{method 'cls_meth:' declared here}}
H A Dclass-message-protocol-lookup.m16 - (id)alloc2; // expected-note 2 {{method 'alloc2' declared here}}
21 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return …
22 …ol> c1 = [c1 alloc2]; // expected-warning {{instance method 'alloc2' found instead of class metho…
30 …Class<TestProtocol> c = [c alloc]; // expected-warning {{class method '+alloc' not found (return …
31 …ol> c1 = [c1 alloc2]; // expected-warning {{instance method 'alloc2' found instead of class metho…
51 - (void)otherInstanceMethod; // expected-note {{method 'otherInstanceMethod' declared here}}
60 …stanceMethod]; // expected-warning {{instance method 'otherInstanceMethod' found instead of class…
H A Drelated-result-type-inference.m11 - (id)retain; // expected-note{{instance method 'retain' is assumed to return an instance of its r…
49 // Inference based on method family
85 - (id)initBlah; // expected-note 2{{overridden method is part of the 'init' method family}}
102 + (id)newBlarg; // expected-note{{overridden method is part of the 'new' method family}}
106 + alloc; // expected-note{{overridden method is part of the 'alloc' method family}}
114 + (Unrelated *)alloc { // expected-warning{{method is expected to return an instance of its class t…
120 - (id)initBlah; // expected-note{{overridden method is part of the 'init' method family}}
125 - (int)initBlah; // expected-warning{{protocol method is expected to return an instance of the impl…
153 - (id)_ABC_init __attribute__((objc_method_family(init))); // expected-note {{method '_ABC_init' de…
161 - (id)_ABC_init { // expected-warning {{category is implementing a method which will also be implem…
[all …]
H A Dunknown-anytype.m19 double *dp = [test1() getSomePtr]; // okay: picks first method found
20 …UnknownMethod]; // expected-error{{no known method '-otherUnknownMethod'; cast the message send to…
22 …UnknownMethod]; // expected-error{{no known method '-otherUnknownMethod'; cast the message send to…
25 …knownMethod]) { // expected-error{{no known method '-otherUnknownMethod'; cast the message send to…
27 …knownMethod]) { // expected-error{{no known method '-otherUnknownMethod'; cast the message send to…
H A Dmethod-direct.m20 - (void)otherRootDirect __attribute__((objc_direct)); // expected-note {{direct method 'otherRootDi…
98 + (void)someRootDirectMethod { // expected-note {{direct method 'someRootDirectMethod' declared her…
101 …[self someRootDirectMethod]; // expected-error {{messaging a Class with a method that is possibly …
123 - (void)direct1 { // expected-note {{direct method 'direct1' declared here}}
125 - (void)direct2 { // expected-note {{direct method 'direct2' declared here}}
131 - (id)directMismatch2; // expected-note {{method 'directMismatch2' declared here}}
136 - (void)directMismatch2 __attribute__((objc_direct)); // expected-note {{method 'directMismatch2' d…
144 [super otherRootDirect]; // expected-error {{messaging super with a direct method}}
147 [super otherOtherClassRootDirect]; // expected-error {{messaging super with a direct method}}
163 …[cls otherClassRootDirect]; // expected-error {{messaging a Class with a method that is possibly d…
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dmessage.mm6 - (int*)method; method
10 - (int*)method { method
22 - (int*)method; method
23 + (void)method; class
35 - (int*)method { method
36 [ivar method];
39 [I2_holder().get() method];
43 + (void)method { class
50 + (int*)method; class
73 return [::I3 method];
[all …]
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DTransport.h56 void notify(StringRef method, llvm::json::Value params);
57 void call(StringRef method, llvm::json::Value params, llvm::json::Value id);
108 bool onNotify(StringRef method, llvm::json::Value value);
133 void method(llvm::StringLiteral method, ThisT *thisPtr, in method() argument
135 methodHandlers[method] = [method, handler, in method()
146 void notification(llvm::StringLiteral method, ThisT *thisPtr, in notification() argument
148 notificationHandlers[method] = [method, handler, in notification()
159 OutgoingNotification<T> outgoingNotification(llvm::StringLiteral method) { in outgoingNotification() argument
160 return [&, method](const T &params) { in outgoingNotification()
161 Logger::info("--> {0}", method); in outgoingNotification()
[all …]
H A DTransport.cpp42 StringRef method; member in __anon441a52320111::Reply
82 Logger::info("--> {0}", method); in onNotify()
84 if (method == "exit") in onNotify()
86 if (method == "$cancel") { in onNotify()
89 auto it = notificationHandlers.find(method); in onNotify()
98 Logger::info("--> {0}({1})", method, id); in onCall()
100 Reply reply(id, method, transport); in onCall()
102 auto it = methodHandlers.find(method); in onCall()
166 {"method", method}, in notify()
175 {"method", method}, in call()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dexecute-command.test2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabi…
5 # CHECK: "method": "textDocument/publishDiagnostics",
30 {"jsonrpc":"2.0","id":3,"method":"workspace/executeCommand","params":{}}
33 {"jsonrpc":"2.0","id":4,"method":"workspace/executeCommand","params":{"command": {}}}
38 {"jsonrpc":"2.0","id":6,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
41 {"jsonrpc":"2.0","id":7,"method":"workspace/executeCommand","params":{"command":"mycommand"}}
44 {"jsonrpc":"2.0","id":8,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
50 {"jsonrpc":"2.0","id":10,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix",…
59 {"jsonrpc":"2.0","id":13,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix",…
67 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
[all …]
H A Dversion.test3 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{}}
5 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","l…
8 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///foo.c",…
11 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///foo.c"}…
14 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///bar.c","v…
17 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///bar.c"}…
20 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///bar.c",…
23 {"jsonrpc":"2.0","id":6,"method":"shutdown"}
25 {"jsonrpc":"2.0","method":"exit"}
H A Dsemantic-tokens-refresh.test2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"capabilities":{
6 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{
12 # CHECK: "method": "workspace/semanticTokens/refresh",
20 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{
24 # CHECK-NOT: "method": "workspace/semanticTokens/refresh"
27 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{
32 # CHECK: "method": "workspace/semanticTokens/refresh",
39 {"jsonrpc":"2.0","id":3,"method":"shutdown"}
41 {"jsonrpc":"2.0","method":"exit"}
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dexternal-source-symbol-attr.m15 -(void)method; method
22 -(void)method; method
23 // CHECK: [[@LINE-1]]:8 | instance-method/Swift | method | c:@M@some_module@objc(cs)I2(im)method | …
25 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | prop | c:@M@some_module@objc(cs)I2(im)pr…
26 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setProp: | c:@M@some_module@objc(cs)I2(i…
32 [o method];
33 // CHECK: [[@LINE-1]]:6 | instance-method/Swift | method | c:@M@some_module@objc(cs)I1(im)method |
44 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | cat_method | c:@M@some_module@objc(cs)I1(im)cat_me…
94 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth | c:@M@modname@objc(cs)I3(im)meth |
96 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth2 | c:@CM@modname@objc(cs)I3(im)meth2 |
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Doptnone-templates.cpp33 T method(T t, U u) in method() function in template_normal_base
42 __attribute__((optnone)) int method (int t, U u) in method() function in template_normal_base
57 float r1 = class_normal.method(z, y); in container2()
58 float r2 = class_optnone.method(y, z); in container2()
70 __attribute__((optnone)) T method(T t, U u) in method() function in template_optnone_base
79 int method (int t, U u) in method() function in template_optnone_base
94 float r1 = class_optnone.method(z, y); in container3()
95 float r2 = class_normal.method(y, z); in container3()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli519 method [llvm::Module::getDataLayout]. *)
567 See the method [llvm::Type::getTypeID]. *)
773 See the method [llvm::Value::getType]. *)
782 See the method [llvm::Value::getName]. *)
813 See the method [llvm::Use::getUser]. *)
836 method [llvm::User::getOperand]. *)
840 method [llvm::User::getOperandUse]. *)
926 See the method [llvm::MDNode::get]. *)
931 See the method [llvm::MDNode::get]. *)
1547 See the method [llvm::Module::begin]. *)
[all …]
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dtest_result.py219 if method:
220 method()
229 if method:
230 method()
246 if method:
247 method()
264 if method:
274 if method:
275 method()
284 if method:
[all …]

12345678910>>...37