| /llvm-project-15.0.7/clang/test/CXX/expr/expr.post/expr.call/ |
| H A D | p7-0x.cpp | 21 void vararg(...); 26 vararg(x1); // OK in f() 27 …vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic functi… in f() 28 vararg(x3); // OK in f() 29 …vararg(x4); // expected-error{{cannot pass object of non-trivial type 'X4' through variadic functi… in f() 31 vararg(g()); // expected-error{{cannot pass expression of type 'void' to variadic function}} in f() 32 vararg({1, 2, 3}); // expected-error{{cannot pass initializer list to variadic function}} in f()
|
| /llvm-project-15.0.7/llvm/test/MC/AsmParser/ |
| H A D | macros-darwin-vararg.s | 3 .macro abc a b:vararg argument 12 .macro ifcc arg:vararg argument 18 .macro ifcc2 arg0 arg1:vararg argument 24 .macro ifcc3 arg0, arg1:vararg argument 30 .macro ifcc4 arg0, arg1:vararg argument 63 .macro abc arg:vararg=nop argument 67 .macro abcd arg0=%eax, arg1:vararg=%ebx 78 .macro .make_macro start, end, name, body:vararg argument
|
| H A D | macro-vararg-err.s | 3 # CHECK:{{.*}}.s:[[#@LINE+3]]:21: error: vararg parameter 'a' should be the last parameter 4 # CHECK-NEXT:.macro two a:vararg b:vararg 6 .macro two a:vararg b:vararg argument 9 # CHECK-NEXT:.macro one a:req:vararg 11 .macro one a:req:vararg
|
| H A D | macro-vararg.s | 2 .macro one a:vararg argument 19 .macro two a, b:vararg 32 .macro two1 a b:vararg argument
|
| H A D | vararg-default-value.s | 2 .macro abc arg:vararg=nop argument 6 .macro abcd arg0=%eax arg1:vararg=%ebx
|
| H A D | macro-max-depth.s | 5 .macro rec head, tail:vararg argument 13 .macro amplify macro, args:vararg argument
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/ |
| H A D | vararg.rst | 1 .. title:: clang-tidy - hicpp-vararg 3 :http-equiv=refresh: 5;URL=../cppcoreguidelines/pro-type-vararg.html 5 hicpp-vararg 8 The `hicpp-vararg` check is an alias, please see 9 `cppcoreguidelines-pro-type-vararg <../cppcoreguidelines/pro-type-vararg.html>`_
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | pro-type-vararg.rst | 1 .. title:: clang-tidy - cppcoreguidelines-pro-type-vararg 3 cppcoreguidelines-pro-type-vararg 6 This check flags all calls to c-style vararg functions and all use of 9 To allow for SFINAE use of vararg functions, a call is not flagged if a literal 10 0 is passed as the only vararg argument.
|
| /llvm-project-15.0.7/llvm/test/Transforms/CodeExtractor/ |
| H A D | PartialInlineVarArg.ll | 6 define i32 @vararg(i32 %count, ...) { 34 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg) 39 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg) 43 %tmp = tail call i32 (i32, ...) @vararg(i32 %arg, i32 10, float %arg2) 49 ; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3.bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg,… 51 ; Test case to check that we do not extract a vararg function, if va_end is in
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | vararg-non-pod-ms-compat.cpp | 10 void vararg(...); 26 vararg(x); in test()
|
| H A D | vararg-non-pod.cpp | 9 void vararg(...); 14 vararg(x); in test()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | varargs.c | 11 void vararg(int, ...); 15 vararg(0, focus_changed_cb); in function_as_vararg()
|
| H A D | extend-arg-64.c | 25 int vararg(int, ...); 65 sum = vararg(sum, u32, s32, u16, s16, u8, s8); in test()
|
| H A D | win64-i128.c | 18 void vararg(int a, ...) { in vararg() function
|
| /llvm-project-15.0.7/clang/test/SemaCUDA/ |
| H A D | vararg.cu | 33 __device__ void vararg(const char* x, ...) {} in vararg() function 39 __device__ void vararg(T t, ...) {} in vararg() function
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | live-sp.mir | 6 declare void @vararg(i32 signext, ...) 16 call void (i32, ...) @vararg(i32 signext 0, i32 signext %2) 82 …; CHECK-NEXT: PseudoCALL target-flags(riscv-plt) @vararg, csr_ilp32_lp64, implicit-def dead $x1, i… 90 …PseudoCALL target-flags(riscv-plt) @vararg, csr_ilp32_lp64, implicit-def dead $x1, implicit killed…
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | vararg.test | 2 # as in the case of vararg handling code generated by GCC 4.5 7 RUN: %clangxx %cxxflags -no-pie %p/../Inputs/vararg.s -o %t -Wl,-q
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | message-arrays.m | 13 // This should also get an implicit cast (for the vararg)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | soft-float-02.ll | 3 ; Check that FP registers are not saved in a vararg function if soft-float is
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | intrinsic-varargs.td | 26 def llvm_vararg_ty : LLVMType<isVoid>; // this means vararg here
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-ml/ |
| H A D | macro_errors.asm | 7 early_vararg_macro MACRO param:vararg, trailing_param
|
| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | varargs.ll | 17 ; Store the second argument (the hidden vararg buffer pointer) into ap 138 ; Store the second argument (the hidden vararg buffer pointer) into ap 167 ; within a vararg buffer.
|
| H A D | function-bitcasts.ll | 17 declare void @vararg(...) 113 call void bitcast (void (...)* @vararg to void (i32)*)(i32 0) 228 ; CHECK: call vararg, $1{{$}}
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiCallingConv.td | 22 // Put argument in registers if marked 'inreg' and not a vararg call.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | ppcf128-endian.ll | 196 define double @vararg(i32 %a, ...) { 197 ; CHECK-LABEL: vararg:
|