| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-strict-prototypes.m | 5 …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 D | warn-deprecated-non-prototype.c | 27 … 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 D | warn-strict-prototypes.c | 59 … 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 D | CMakeLists.txt | 1 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 D | missing-selector-name.mm | 6 - (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 D | method-def-in-class.m | 5 -(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 D | add-prototypes-conflict.ll | 7 ; WARNING: warning: prototype-less function used with conflicting signatures: foo 21 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} } 22 attributes #1 = { "no-prototype" }
|
| H A D | add-prototypes-opaque-ptrs.ll | 59 ; Check if a sret parameter works in a no-prototype function. 78 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} } 79 attributes #1 = { "no-prototype" }
|
| H A D | add-prototypes.ll | 59 ; 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 D | CGFunctionInfo.h | 497 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 D | ChangeLog | 216 (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 D | execution_engine.py | 23 prototype = ctypes.CFUNCTYPE(None, ctypes.c_void_p) 24 return prototype(func)
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadPlanCallFunctionUsingABI.cpp | 24 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 D | coro-retcon-unreachable.ll | 13 …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 D | coro-retcon-once-private.ll | 10 …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 D | nonnull.m | 25 … 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 D | strlen-01.ll | 8 ; 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 D | func.cl | 15 // 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 D | invalid-block.cl | 51 …{ // 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 D | warn-missing-prototypes.cl | 3 void f() { } // expected-warning {{no previous prototype for function 'f'}}
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl06.rst | 125 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 D | kmp_stats.cpp | 510 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 D | video.js | 26 …prototype; 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 D | 2005-02-12-ConstantGlobals-2.ll | 1 ; Test that a prototype can be marked const, and the definition is allowed
|
| H A D | 2005-02-12-ConstantGlobals.ll | 1 ; Test that a prototype can be marked const, and the definition is allowed
|