Home
last modified time | relevance | path

Searched refs:prototype (Results 1 – 25 of 136) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-strict-prototypes.m5 …id (^noProtoBlock)(); // expected-warning {{a block declaration without a prototype is deprecated}}
8 …)) completionHandler; // expected-warning {{a block declaration without a prototype is deprecated}}
13 void foo() { // expected-warning {{a function declaration without a prototype is deprecated in all …
14 void (^block)() = // expected-warning {{a block declaration without a prototype is deprecated}}
23 void (*(^(*(^block4)()) // expected-warning {{a block declaration without a prototype is deprecated…
24 …()) // expected-warning {{a function declaration without a prototype is deprecated in all versions…
25 ()) // expected-warning {{a block declaration without a prototype is deprecated}}
26 …(); // expected-warning {{a function declaration without a prototype is deprecated in all versions…
H A Dwarn-deprecated-non-prototype.c27 … strict-warning {{a function declaration without a prototype is deprecated in all versions of C}}
42 … strict-warning {{a function declaration without a prototype is deprecated in all versions of C}}
47 … strict-warning {{a function declaration without a prototype is deprecated in all versions of C}}
50 … strict-warning {{a function declaration without a prototype is deprecated in all versions of C}}
H A Dwarn-strict-prototypes.c59 … function declaration without a prototype is deprecated in all versions of C and is treated as a z…
/llvm-project-15.0.7/libc/utils/HdrGen/PrototypeTestGen/
H A DCMakeLists.txt1 add_tablegen(libc-prototype-testgen LLVM_LIBC
4 target_link_libraries(libc-prototype-testgen PRIVATE LibcTableGenUtil)
5 target_include_directories(libc-prototype-testgen PRIVATE ${LIBC_SOURCE_DIR})
/llvm-project-15.0.7/clang/test/Parser/
H A Dmissing-selector-name.mm6 - (void) // expected-error {{expected ';' after method prototype}}
35 - (void)Meth {} // expected-error {{expected ';' after method prototype}}
42 // expected-error {{expected ';' after method prototype}}
H A Dmethod-def-in-class.m5 -(id) f0 { // expected-error {{expected ';' after method prototype}}
11 - (id) f0 { // expected-error {{expected ';' after method prototype}}
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dadd-prototypes-conflict.ll7 ; WARNING: warning: prototype-less function used with conflicting signatures: foo
21 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} }
22 attributes #1 = { "no-prototype" }
H A Dadd-prototypes-opaque-ptrs.ll59 ; Check if a sret parameter works in a no-prototype function.
78 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} }
79 attributes #1 = { "no-prototype" }
H A Dadd-prototypes.ll59 ; Check if a sret parameter works in a no-prototype function.
78 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} }
79 attributes #1 = { "no-prototype" }
/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h497 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus() argument
499 if (!prototype->isVariadic()) return All; in forPrototypePlus()
501 if (prototype->hasExtParameterInfos()) in forPrototypePlus()
503 prototype->getExtParameterInfos(), in forPrototypePlus()
508 return RequiredArgs(prototype->getNumParams() + additional); in forPrototypePlus()
511 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in forPrototypePlus() argument
513 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
516 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { in forPrototype() argument
517 return forPrototypePlus(prototype, 0); in forPrototype()
520 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) { in forPrototype() argument
[all …]
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DChangeLog216 (DBNArchMachARM::BreakpointHit): New prototype.
766 (DNBWatchpointSet): New function prototype.
767 (DNBWatchpointClear): New function prototype.
772 (DNBWatchpointPrint): New function prototype.
804 prototype.
832 prototype.
834 prototype.
941 to prototype.
1044 (DNBThreadGetInfo): New prototype.
1171 prototype.
[all …]
/llvm-project-15.0.7/mlir/python/mlir/
H A Dexecution_engine.py23 prototype = ctypes.CFUNCTYPE(None, ctypes.c_void_p)
24 return prototype(func)
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanCallFunctionUsingABI.cpp24 Thread &thread, const Address &function, llvm::Type &prototype, in ThreadPlanCallFunctionUsingABI() argument
37 start_load_addr, prototype, args)) in ThreadPlanCallFunctionUsingABI()
/llvm-project-15.0.7/llvm/test/Transforms/Coroutines/
H A Dcoro-retcon-unreachable.ll13 …n.once(i32 32, i32 8, i8* [[BUFFER:%.*]], i8* bitcast (void (i8*, i1)* @prototype to i8*), i8* bit…
18 …d.retcon.once(i32 32, i32 8, i8* %buffer, i8* bitcast (void (i8*, i1)* @prototype to i8*), i8* bit…
30 declare swiftcc void @prototype(i8* noalias dereferenceable(32), i1)
H A Dcoro-retcon-once-private.ll10 …id.retcon.once(i32 8, i32 8, i8* %buffer, i8* bitcast (void (i8*, i1)* @prototype to i8*), i8* bit…
43 declare void @prototype(i8*, i1 zeroext)
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dnonnull.m25 … function declaration without a prototype is deprecated in all versions of C and is treated as a z…
44 …func6((NSObject*) 0); // expected-warning {{passing arguments to 'func6' without a prototype is de…
45 …func7((NSObject*) 0); // expected-warning {{passing arguments to 'func7' without a prototype is de…
63 void func6(dispatch_object_t _head) { // expected-note {{conflicting prototype is here}}
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dstrlen-01.ll8 ; Test strlen with its proper i64 prototype. It would also be valid for
25 ; Test strnlen with its proper i64 prototype.
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dfunc.cl15 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}}
20 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}}
27 // expected-error@-2 {{invalid prototype, variadic arguments are not allowed in OpenCL}}
H A Dinvalid-block.cl51 …{ // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}} expected-e…
54 typedef int (^bl1_t)(int, ...); // expected-error {{invalid prototype, variadic arguments are not a…
H A Dwarn-missing-prototypes.cl3 void f() { } // expected-warning {{no previous prototype for function 'f'}}
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl06.rst125 definition is parsed as the "prototype" production and into the
160 Basically, in addition to knowing a name for the prototype, we now keep
164 operators). Now that we have a way to represent the prototype for a
169 /// prototype
180 return LogErrorP("Expected function name in prototype");
206 return LogErrorP("Expected '(' in prototype");
212 return LogErrorP("Expected ')' in prototype");
273 built as normal functions (because the "prototype" boils down to a
390 prototypes, to parse the unary operator prototype. We extend the binary
395 /// prototype
[all …]
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.cpp510 static std::string generateFilename(char const *prototype, in generateFilename() argument
514 for (int i = 0; prototype[i] != char(0); i++) { in generateFilename()
515 char ch = prototype[i]; in generateFilename()
519 if (prototype[i] == char(0)) in generateFilename()
522 switch (prototype[i]) { in generateFilename()
539 res += prototype[i]; in generateFilename()
/llvm-project-15.0.7/polly/www/video-js/
H A Dvideo.js26prototype; initializing = true; var prototype = new this(); initializing = false; for (var name in…
164 VideoJS.player = VideoJS.prototype;
1700 Function.prototype.context = function(obj){
1712 Function.prototype.evtContext = function(obj){
1725 Function.prototype.rEvtContext = function(obj, funcParent){
/llvm-project-15.0.7/llvm/test/Linker/
H A D2005-02-12-ConstantGlobals-2.ll1 ; Test that a prototype can be marked const, and the definition is allowed
H A D2005-02-12-ConstantGlobals.ll1 ; Test that a prototype can be marked const, and the definition is allowed

123456