/llvm-project/clang/test/Sema/ |
H A D | attr-args.c | 4 inline __attribute__((noreturn(a))) void *f1(void); // expected-error {{'noreturn' attribute takes… 5 …ays_inline(a))) void *f2(void); // expected-error {{'always_inline' attribute takes no arguments}} 6 inline __attribute__((cdecl(a))) void *f3(void); // expected-error {{'cdecl' attribute takes no ar… 7 inline __attribute__((const(a))) void *f4(void); // expected-error {{'const' attribute takes no ar… 8 inline __attribute__((fastcall(a))) void *f5(void); // expected-error {{'fastcall' attribute takes… 9 inline __attribute__((malloc(a))) void *f5(void); // expected-error {{'malloc' attribute takes no … 10 inline __attribute__((nothrow(a))) void *f7(void); // expected-error {{'nothrow' attribute takes n… 11 inline __attribute__((stdcall(a))) void *f8(void); // expected-error {{'stdcall' attribute takes n… 12 inline __attribute__((used(a))) void *f9(void); // expected-error {{'used' attribute takes no argu… 13 inline __attribute__((unused(a))) void *f10(void); // expected-error {{'unused' attribute takes no… [all …]
|
H A D | attr-wasm.c | 3 void name_a(void) __attribute__((import_name)); //expected-error {{'import_name' attribute takes on… 7 …ute__((import_name("foo", "bar"))); //expected-error {{'import_name' attribute takes one argument}} 9 …import_name("foo", "bar", "qux"))); //expected-error {{'import_name' attribute takes one argument}} 15 …) __attribute__((import_module)); //expected-error {{'import_module' attribute takes one argument}} 19 …_((import_module("foo", "bar"))); //expected-error {{'import_module' attribute takes one argument}} 21 …rt_module("foo", "bar", "qux"))); //expected-error {{'import_module' attribute takes one argument}}
|
H A D | pragma-attribute.c | 10 …notate)), apply_to = function) // expected-error 4 {{'annotate' attribute takes at least 1 argumen… 15 …tate())), apply_to = function) // expected-error 2 {{'annotate' attribute takes at least 1 argumen… 41 …nnotate())), apply_to = function) // expected-error{{'annotate' attribute takes at least 1 argumen… 42 …nnotate())), apply_to = function) // expected-error{{'annotate' attribute takes at least 1 argumen… 51 …tate())), apply_to = function) // expected-error 2 {{'annotate' attribute takes at least 1 argumen… 55 …nnotate())), apply_to = function) // expected-error{{'annotate' attribute takes at least 1 argumen…
|
H A D | attr-callback-broken.c | 5 …rgs_1(void (*callback)(void)) {} // expected-error {{'callback' attribute takes one argument}} in too_many_args_1() 6 …args_2(double (*callback)(void)); // expected-error {{'callback' attribute takes one argument}} 9 …s_1(void (*callback)(int, int), int); // expected-error {{'callback' attribute takes one argument}} 10 …(int (*callback)(int)); // expected-error {{'callback' attribute takes no arguments}} 11 …gs_3(void (*callback)(int, int)) {} // expected-error {{'callback' attribute takes one argument}} in too_few_args_3() 45 …gs_1b(void (*callback)(void)) {} // expected-error {{'callback' attribute takes one argument}} in too_many_args_1b() 46 …rgs_2b(double (*callback)(void)); // expected-error {{'callback' attribute takes one argument}} 49 …b(void (*callback)(int, int), int a); // expected-error {{'callback' attribute takes one argument}} 50 …nt (*callback)(int)); // expected-error {{'callback' attribute takes no arguments}} 51 …3b(void (*callback)(int, int)) {} // expected-error {{'callback' attribute takes one argument}} in too_few_args_3b()
|
H A D | mips16_attr_allowed.c | 16 void foo32a(void) __attribute__((nomips16(0))) ; // expected-error {{'nomips16' attribute takes no … 17 void __attribute__((mips16(1))) foo16a(void); // expected-error {{'mips16' attribute takes no argum… 19 void __attribute__((nomips16(1, 2))) foo32b(void); // expected-error {{'nomips16' attribute takes n… 20 void __attribute__((mips16(1, 2))) foo16b(void); // expected-error {{'mips16' attribute takes no ar…
|
H A D | attr-long-call.c | 4 __attribute__((long_call(0))) void foo1(void); // expected-error {{'long_call' attribute takes no … 5 __attribute__((short_call(0))) void foo9(void); // expected-error {{'short_call' attribute takes n… 6 __attribute__((far(0))) void foo2(void); // expected-error {{'far' attribute takes no arguments}} 7 __attribute__((near(0))) void foo3(void); // expected-error {{'near' attribute takes no arguments}}
|
H A D | attr-capabilities.c | 23 struct __attribute__((capability)) Test5 {}; // expected-error {{'capability' attribute takes one a… 24 …ity("test1", 12))) Test6 {}; // expected-error {{'shared_capability' attribute takes one argument}} 31 …ires_capability)) {} // expected-error {{'requires_capability' attribute takes at least 1 argumen… in Func3() 32 …pability)) {} // expected-error {{'requires_shared_capability' attribute takes at least 1 argumen… in Func4() 63 …_capability())) {} // expected-error {{'try_acquire_capability' attribute takes at least 1 argumen… in Func25() 64 …lity())) {} // expected-error {{'try_acquire_shared_capability' attribute takes at least 1 argumen… in Func26()
|
H A D | arm-mve-alias-attribute.c | 7 …_arm_builtin_alias)) // expected-error {{'__clang_arm_builtin_alias' attribute takes one argument}} 11 …rm_builtin_alias())) // expected-error {{'__clang_arm_builtin_alias' attribute takes one argument}} 23 …uiltin_arm_nop, 2))) // expected-error {{'__clang_arm_builtin_alias' attribute takes one argument}}
|
H A D | align_value.c | 13 // expected-error@+1 {{attribute takes one argument}} 16 // expected-error@+1 {{attribute takes one argument}} 19 // expected-error@+1 {{attribute takes one argument}}
|
H A D | callingconv-iamcu.c | 9 void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{'fastcall' attribute takes no… in baz() 21 void __attribute__((cdecl(1))) ctest1(float x) {} // expected-error {{'cdecl' attribute takes no ar… in ctest1() 35 int __attribute__((pcs("aapcs", "aapcs"))) pcs1(void); // expected-error {{'pcs' attribute takes on… 36 int __attribute__((pcs())) pcs2(void); // expected-error {{'pcs' attribute takes one argument}}
|
H A D | attr-enforce-tcb-errors.cpp | 5 void no_arguments() __attribute__((enforce_tcb)); // expected-error{{'enforce_tcb' attribute takes … 7 …ibute__((enforce_tcb("test", 12))); // expected-error{{'enforce_tcb' attribute takes one argument}} 13 …tribute__((enforce_tcb_leaf)); // expected-error{{'enforce_tcb_leaf' attribute takes one argument}} 15 …nforce_tcb_leaf("test", 12))); // expected-error{{'enforce_tcb_leaf' attribute takes one argument}}
|
/llvm-project/llvm/test/Verifier/ |
H A D | invalid-patchable-function-entry.ll | 3 ; CHECK: "patchable-function-entry" takes an unsigned integer: 4 ; CHECK: "patchable-function-entry" takes an unsigned integer: a 5 ; CHECK: "patchable-function-entry" takes an unsigned integer: -1 6 ; CHECK: "patchable-function-entry" takes an unsigned integer: 3, 13 ; CHECK: "patchable-function-prefix" takes an unsigned integer: 14 ; CHECK: "patchable-function-prefix" takes an unsigned integer: a 15 ; CHECK: "patchable-function-prefix" takes an unsigned integer: -1 16 ; CHECK: "patchable-function-prefix" takes an unsigned integer: 3,
|
H A D | invalid-warn-stack-size.ll | 7 ; CHECK-NOT: "warn-stack-size" takes an unsigned integer: 42 8 ; CHECK: "warn-stack-size" takes an unsigned integer: -1 9 ; CHECK: "warn-stack-size" takes an unsigned integer: 999999999999999999999 10 ; CHECK: "warn-stack-size" takes an unsigned integer: a lot lol
|
/llvm-project/flang/include/flang/Optimizer/Builder/Runtime/ |
H A D | Reduction.h | 85 /// that takes a dim argument. 98 /// that takes a dim argument. 110 /// that takes a dim argument. 128 /// that takes arrays of any rank with a dim argument specified. 146 /// that takes arrays of any rank with a dim argument specified. 157 /// that takes a dim argument. 174 /// that takes arrays of any rank with a dim argument specified. 186 /// that takes arrays of any rank with a dim argument specified. 198 /// that takes arrays of any rank with a dim argument specified. 210 /// that takes arrays of any rank with a dim argument specified. [all …]
|
/llvm-project/mlir/include/mlir/Pass/ |
H A D | PassInstrumentation.h | 44 /// A callback to run before a pass pipeline is executed. This function takes 51 /// A callback to run after a pass pipeline has executed. This function takes 58 /// A callback to run before a pass is executed. This function takes a pointer 64 /// takes a pointer to the pass to be executed, as well as the current 68 /// A callback to run when a pass execution fails. This function takes a 74 /// A callback to run before an analysis is computed. This function takes the 79 /// A callback to run before an analysis is computed. This function takes the
|
/llvm-project/mlir/include/mlir/Dialect/Math/IR/ |
H A D | MathOps.td | 103 The `absf` operation computes the absolute value. It takes one operand of 124 The `absi` operation computes the absolute value. It takes one operand of 151 The `acosh` operation computes the arcus cosine of a given value. It takes 178 The `asin` operation computes the arcus sine of a given value. It takes 205 The `asinh` operation computes the hyperbolic arcus sine of a given value. It takes 226 The `atan` operation computes the arcus tangent of a given value. It takes 253 The `atanh` operation computes the hyperbolic arcus tangent of a given value. It takes 274 The `atan2` operation takes two operands and returns one result, all of 302 The `cbrt` operation computes the cube root. It takes one operand of 324 The `ceil` operation computes the ceiling of a given value. It takes on [all...] |
/llvm-project/mlir/include/mlir/Dialect/Complex/IR/ |
H A D | ComplexOps.td | 54 The `abs` op takes a single complex number and computes its absolute value. 72 The `add` operation takes two complex numbers and returns their sum. 168 The `cos` op takes a single complex number and computes the cosine of 221 The `div` operation takes two complex numbers and returns result of their 240 The `eq` op takes two complex numbers and returns whether they are equal. 262 The `exp` op takes a single complex number and computes the exponential of 307 The `im` op takes a single complex number and extracts the imaginary part. 328 The `log` op takes a single complex number and computes the natural 351 The `log` op takes a single complex number and computes the natural 373 The `mul` operation takes two complex numbers and returns their product: [all …]
|
/llvm-project/lldb/test/API/python_api/class_members/ |
H A D | TestSBTypeClassMembers.py | 76 "Base::sfunc takes three arguments", 92 "Base::dat takes no arguments", 101 "Base::bar takes a second 'char' argument", 122 "Thingy::foo takes two arguments", 127 "Thingy::foo takes an int",
|
/llvm-project/clang/test/SemaCXX/ |
H A D | warn-thread-safety-parsing.cpp | 114 // expected-error {{'no_thread_safety_analysis' attribute takes no arguments}} in noanal_testfn() 153 // expected-error {{'guarded_var' attribute takes no arguments}} 159 // expected-error {{'guarded_var' attribute takes no arguments}} 199 // expected-error {{'pt_guarded_var' attribute takes no arguments}} 207 // expected-error {{'pt_guarded_var' attribute takes no arguments}} 236 // expected-error {{'lockable' attribute takes no arguments}} in l_testfn() 276 // expected-error {{'scoped_lockable' attribute takes no arguments}} in sl_testfn() 321 // expected-error {{'guarded_by' attribute takes one argument}} 324 // expected-error {{'guarded_by' attribute takes one argument}} 329 // expected-error {{'guarded_by' attribute takes on in GUARDED_BY() [all...] |
H A D | attr-deprecated-replacement-error.cpp | 7 int a1 [[deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no more … 10 int b1 [[gnu::deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no … 13 __declspec(deprecated("warning", "fixit")) int c1; // expected-error{{'deprecated' attribute takes …
|
/llvm-project/clang/test/Preprocessor/ |
H A D | _Pragma.c | 14 _Pragma(unroll 1 // expected-error{{_Pragma takes a parenthesized string literal}} 16 _Pragma(clang diagnostic push) // expected-error{{_Pragma takes a parenthesized string literal}} 18 _Pragma( // expected-error{{_Pragma takes a parenthesized string literal}}
|
/llvm-project/lldb/source/Symbol/ |
H A D | DWARFCallFrameInfo.cpp | 648 // takes a single argument that represents a constant delta. The in FDEToUnwindPlan() 663 // takes a single argument that represents a register number. The in FDEToUnwindPlan() 688 // DW_CFA_set_loc takes a single argument that represents an address. in FDEToUnwindPlan() 704 // takes a single uword argument that represents a constant delta. in FDEToUnwindPlan() 717 // takes a single uword argument that represents a constant delta. in FDEToUnwindPlan() 730 // takes a single uword argument that represents a constant delta. in FDEToUnwindPlan() 743 // takes a single unsigned LEB128 argument that represents a register in FDEToUnwindPlan() 797 // The DW_CFA_GNU_args_size instruction takes an unsigned LEB128 in FDEToUnwindPlan() 831 // takes two arguments: an unsigned LEB128 constant representing a in HandleCommonDwarfOpcode() 850 // takes tw in HandleCommonDwarfOpcode() [all...] |
/llvm-project/llvm/lib/TableGen/ |
H A D | Error.cpp | 76 // This method takes a Record and uses the source location in PrintFatalNote() 83 // This method takes a RecordVal and uses the source location in PrintFatalNote() 118 // This method takes a Record and uses the source location 124 // This method takes a RecordVal and uses the source location 147 // This method takes a Record and uses the source location 154 // This method takes a RecordVal and uses the source location in PrintFatalError()
|
/llvm-project/mlir/include/mlir/Dialect/Index/IR/ |
H A D | IndexOps.td | 50 The `index.add` operation takes two index values and computes their sum. 70 The `index.sub` operation takes two index values and computes the difference 89 The `index.mul` operation takes two index values and computes their product. 109 The `index.divs` operation takes two index values and computes their signed 131 The `index.divu` operation takes two index values and computes their 153 The `index.ceildivs` operation takes two index values and computes their 175 The `index.ceildivu` operation takes two index values and computes their 197 The `index.floordivs` operation takes two index values and computes their 219 The `index.rems` operation takes two index values and computes their signed 238 The `index.remu` operation takes tw [all...] |
/llvm-project/clang/include/clang/CodeGen/ |
H A D | CodeGenABITypes.h | 150 /// calling convention, returns void, and takes a single argument that is a 159 /// calling convention, returns void, and takes two arguments: pointers to the 169 /// calling convention, returns void, and takes two arguments: pointers to the 179 /// `cdecl` calling convention, returns void, and takes two arguments: pointers 187 /// `cdecl` calling convention, returns void, and takes two arguments: pointers 195 /// convention, returns void, and takes a single argument that is a pointer to
|