/llvm-project/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/clang/include/clang/Basic/ |
H A D | riscv_sifive_vector.td | 29 string prototype, string type_range, 31 : RVVBuiltin<suffix, prototype, type_range> { 40 string prototype, string type_range, 42 if !find(prototype, "0") then { 43 def : VCIXBuiltinSet<name, IR_name, suffix, prototype, type_range, intrinsic_types>; 45 …def : VCIXBuiltinSet<name # "_se", IR_name # "_se", suffix, prototype, type_range, intrinsic_types… 48 multiclass RVVVCIXBuiltinSet<list<string> range, string prototype, 54 defm : VCIXBuiltinSet<NAME, NAME, suffix, prototype, r, intrinsic_types>; 57 multiclass RVVVCIXBuiltinSetWOSuffix<list<string> range, string prototype, 60 defm NAME : RVVVCIXBuiltinSet<range, prototype, intrinsic_types, UseGPR, "">; [all …]
|
H A D | riscv_vector_common.td | 127 // The C/C++ prototype of the builtin is defined by the Prototype attribute. 146 class RVVBuiltin<string suffix, string prototype, string type_range, 168 // We use each type described in TypeRange and LMUL with prototype to 170 // Prototype attribute defines the C/C++ prototype of the builtin. It is a 177 string Prototype = prototype; 209 // This builtin prototype with TA or TAMA policy could not support overloading 259 class RVVOutBuiltin<string suffix, string prototype, string type_range> 260 : RVVBuiltin<suffix, prototype, type_range> { 264 class RVVOp0Builtin<string suffix, string prototype, string type_range> 265 : RVVBuiltin<suffix, prototype, type_rang [all...] |
/llvm-project/libc/utils/HdrGen/PrototypeTestGen/ |
H A D | CMakeLists.txt |
|
/llvm-project/clang/include/clang/CodeGen/ |
H A D | CGFunctionInfo.h | 509 /// Compute the arguments required by the given formal prototype, in forPrototypePlus() 514 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus() 516 if (!prototype->isVariadic()) return All; in forPrototype() argument 518 if (prototype->hasExtParameterInfos()) in forPrototype() 520 prototype->getExtParameterInfos(), in forPrototype() argument 525 return RequiredArgs(prototype->getNumParams() + additional); in getNumRequiredArgs() 528 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in getNumRequiredArgs() 530 return forPrototypePlus(prototype.getTypePtr(), additional); 533 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { in isRequiredArg() 534 return forPrototypePlus(prototype, in isRequiredArg() 497 forPrototypePlus(const FunctionProtoType * prototype,unsigned additional) forPrototypePlus() argument 511 forPrototypePlus(CanQual<FunctionProtoType> prototype,unsigned additional) forPrototypePlus() argument [all...] |
/llvm-project/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.ll | 57 ; Check if a sret parameter works in a no-prototype function. 76 ; CHECK-NOT: attributes {{.*}} = { {{.*}}"no-prototype"{{.*}} } 77 attributes #1 = { "no-prototype" }
|
/llvm-project/clang/test/Parser/ |
H A D | missing-selector-name.mm | 5 - (void) // expected-error {{expected ';' after method prototype}} 34 - (void)Meth {} // expected-error {{expected ';' after method prototype}} 41 // expected-error {{expected ';' after method prototype}}
|
H A D | method-def-in-class.m | 4 -(id) f0 { // expected-error {{expected ';' after method prototype}} 10 - (id) f0 { // expected-error {{expected ';' after method prototype}}
|
/llvm-project/lldb/tools/debugserver/source/ |
H A D | ChangeLog | 76 * DNB.h (DNBProcessGetSharedLibraryInfoAddress): New prototype. 78 * MachTask.h (MachProcess::GetDYLDAllImageInfosAddress): New prototype. 167 (RNBRemote::HandlePacket_D): New member function prototype. 202 * DNB.h (DNBResolveExecutablePath): New function prototype. 214 (DBNArchMachARM::DecodeITBlockInstructions): New prototype. 215 (DBNArchMachARM::DecodeInstructionUsingDisassembler): New prototype. 216 (DBNArchMachARM::BreakpointHit): New prototype. 308 (DNBProcessInterruptEvents): New function prototype. 476 * DNB.h (DNBProcessSetEvents): New API function prototype. 567 (DNBArchMachARM::SetSingleStepSoftwareBreakpoints): New prototype. [all …]
|
/llvm-project/mlir/python/mlir/ |
H A D | execution_engine.py | 23 prototype = ctypes.CFUNCTYPE(None, ctypes.c_void_p) 24 return prototype(func)
|
/llvm-project/llvm/test/Transforms/Coroutines/ |
H A D | coro-retcon-unreachable.ll | 13 …token @llvm.coro.id.retcon.once(i32 32, i32 8, ptr [[BUFFER:%.*]], ptr @prototype, ptr @malloc, pt… 18 …%id = call token @llvm.coro.id.retcon.once(i32 32, i32 8, ptr %buffer, ptr @prototype, ptr @malloc… 30 declare swiftcc void @prototype(ptr noalias dereferenceable(32), i1)
|
H A D | coro-retcon-once-private.ll | 10 …%id = call token @llvm.coro.id.retcon.once(i32 8, i32 8, ptr %buffer, ptr @prototype, ptr @allocat… 43 declare void @prototype(ptr, i1 zeroext)
|
H A D | coro-retcon-value.ll | 13 …%id = call token @llvm.coro.id.retcon(i32 8, i32 4, ptr %buffer, ptr @prototype, ptr @allocate, pt… 70 declare {ptr, i32} @prototype(ptr, i8 zeroext)
|
/llvm-project/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/llvm/test/Transforms/InstCombine/ |
H A D | strpbrk-2.ll | 2 ; declared with an incompatible prototype. 13 ; Check that 'strpbrk' functions with the wrong prototype aren't simplified.
|
/llvm-project/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… 62 void func6(dispatch_object_t _head) { // expected-note {{conflicting prototype is here}}
|
/llvm-project/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 int (^bl)(int, ...) = ^int(int I, ...) { // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}} expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}} 54 typedef int (^bl1_t)(int, ...); // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}}
|
H A D | warn-missing-prototypes.cl | 3 void f() { } // expected-warning {{no previous prototype for function 'f'}}
|
/llvm-project/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/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
H A D | LangImpl06.rst | 125 definition is parsed as the "prototype" production and into the 132 /// PrototypeAST - This class represents the "prototype" for a function, 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 281 // Transfer ownership of the prototype to the FunctionProtos map, but keep a [all …]
|
/llvm-project/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()
|