Home
last modified time | relevance | path

Searched refs:parameter (Results 1 – 25 of 951) sorted by relevance

12345678910>>...39

/llvm-project/llvm/test/MC/AsmParser/
H A Dmacro-required-argument-err.s3 # CHECK:{{.*}}.s:[[#@LINE+3]]:36: error: missing parameter qualifier for 'parameter' in macro …
4 # CHECK-NEXT:.macro missing_qualifier parameter:
6 .macro missing_qualifier parameter: argument
8 # CHECK-NEXT:{{.*}}.s:[[#@LINE+3]]:43: error: missing parameter qualifier for 'parameter' in macro …
9 # CHECK-NEXT:.macro non_identifier_qualifier parameter:0
11 .macro non_identifier_qualifier parameter:0 argument
13 # CHECK-NEXT:{{.*}}.s:[[#@LINE+3]]:36: error: invalid_qualifier is not a valid parameter qualifier …
14 # CHECK-NEXT:.macro invalid_qualifier parameter:invalid_qualifier
16 .macro invalid_qualifier parameter:invalid_qualifier argument
18 # CHECK-NEXT:{{.*}}.s:[[#@LINE+3]]:40: warning: pointless default value for required parameter 'par…
[all …]
/llvm-project/openmp/runtime/src/include/
H A Domp_lib.F90.var21 integer, parameter, public :: omp_integer_kind = c_int
22 integer, parameter, public :: omp_logical_kind = 4
23 integer, parameter, public :: omp_real_kind = c_float
24 integer, parameter, public :: kmp_double_kind = c_double
25 integer, parameter, public :: omp_lock_kind = c_intptr_t
26 integer, parameter, public :: omp_nest_lock_kind = c_intptr_t
27 integer, parameter, public :: omp_sched_kind = omp_integer_kind
28 integer, parameter, public :: omp_proc_bind_kind = omp_integer_kind
29 integer, parameter, public :: kmp_pointer_kind = c_intptr_t
30 integer, parameter, publi
[all...]
H A Domp_lib.h.var14 parameter(omp_integer_kind=4)
16 parameter(omp_logical_kind=4)
18 parameter(omp_real_kind=4)
20 parameter(omp_lock_kind=int_ptr_kind())
22 parameter(omp_nest_lock_kind=int_ptr_kind())
24 parameter(omp_sched_kind=omp_integer_kind)
26 parameter(omp_proc_bind_kind=omp_integer_kind)
28 parameter(kmp_pointer_kind=int_ptr_kind())
30 parameter(kmp_size_t_kind=int_ptr_kind())
32 parameter(kmp_affinity_mask_kin
[all...]
/llvm-project/mlir/utils/tree-sitter-mlir/test/highlight/
H A Dcontrolflow.mlir14 // ^ variable.parameter
16 // ^ variable.parameter
20 // ^ variable.parameter
29 // ^ variable.parameter
39 // ^ variable.parameter
40 // ^ variable.parameter
50 // ^ variable.parameter
55 // ^ variable.parameter
56 // ^ variable.parameter
61 // ^ variable.parameter
[all …]
/llvm-project/clang/test/SemaOpenCL/
H A Dimages.cl3 void img2d_ro(read_only image2d_t); // expected-note 3{{passing argument to parameter here}}
4 void img2d_wo(write_only image2d_t); // expected-note 2{{passing argument to parameter here}}
5 void img2d_rw(read_write image2d_t); // expected-note 2{{passing argument to parameter here}}
6 void img2d_default(image2d_t); // expected-note 2{{passing argument to parameter here}}
10 …img2d_ro(img3dro); // expected-error{{passing '__private __read_only image3d_t' to parameter of in…
15 …img2d_wo(img); // expected-error {{passing '__private __read_only image2d_t' to parameter of incom…
16 …img2d_rw(img); // expected-error {{passing '__private __read_only image2d_t' to parameter of incom…
21 …img2d_ro(img); // expected-error {{passing '__private __write_only image2d_t' to parameter of inco…
23 …img2d_rw(img); // expected-error {{passing '__private __write_only image2d_t' to parameter of inco…
24 …img2d_default(img); // expected-error {{passing '__private __write_only image2d_t' to parameter of…
[all …]
/llvm-project/clang/test/SemaObjC/
H A Dwarning-missing-selector-name.m7 …id)Arg2; // expected-warning {{'Name2' used as the name of the previous parameter rather than as p…
8 // expected-note {{introduce a parameter name to make 'Name2' part of the selector}} \
9 …// expected-note {{or insert whitespace before ':' to use 'Name2' as parameter name and have an em…
11 …id)Arg3; // expected-warning {{'Name3' used as the name of the previous parameter rather than as p…
12 // expected-note {{introduce a parameter name to make 'Name3' part of the selector}} \
13 …// expected-note {{or insert whitespace before ':' to use 'Name3' as parameter name and have an em…
14 …second; // expected-warning {{'second' used as the name of the previous parameter rather than as p…
15 // expected-note {{introduce a parameter name to make 'second' part of the selector}} \
16 …// expected-note {{or insert whitespace before ':' to use 'second' as parameter name and have an e…
23 …)Arg2 {} // expected-warning {{'Name2' used as the name of the previous parameter rather than as p…
[all …]
H A Dobjc-container-subscripting.m7 - (id)objectAtIndexedSubscript:(double)index; // expected-note {{parameter of type 'double' is decl…
8 - (void)setObject:(id *)object atIndexedSubscript:(void *)index; // expected-note {{parameter of ty…
9 // expected-note {{parameter of type 'id *' is declared here}}
15 …id oldObject = array[10]; // expected-error {{method index parameter type 'double' is not integra…
16 array[3] = 0; // expected-error {{method index parameter type 'void *' is not integral type}} \
17 …cted-error {{cannot assign to this array because assigning method's 2nd parameter of type 'id *' i…
29 - (id)objectForKeyedSubscript:(id*)key; // expected-note {{parameter of type 'id *' is declared her…
30 - (void)setObject:(void*)object forKeyedSubscript:(id*)key; // expected-note {{parameter of type 'v…
31 … // expected-note {{parameter of type 'id *' is declared here}}
39 …oldObject = dictionary[key]; // expected-error {{method key parameter type 'id *' is not object t…
[all …]
H A Dwarn-superclass-method-mismatch.m12 -(void) method2: (Sub*) x; // expected-note{{passing argument to parameter 'x' here}}
24 …ruct A*) a; // expected-warning {{method parameter type 'struct A *' does not match super class me…
25 …d1: (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super class metho…
27 … : (float)x3; // expected-warning {{method parameter type 'Sub *' does not match super class metho…
29 …1 : (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super class metho…
30 … : (float) d; // expected-warning {{method parameter type 'float' does not match super class metho…
31 …: (double) d; // expected-warning {{method parameter type 'double' does not match super class meth…
H A Dattr-swift-async.m10 SA(not_swift_private, 0) void c(void); // expected-error{{'swift_async' attribute parameter 2 is ou…
11 SA(swift_private, 1) void d(void); // expected-error{{'swift_async' attribute parameter 2 is out of…
12 SA(swift_private, 1) void e(int); // expected-error{{'swift_async' completion handler parameter mus…
13 …(int (^)(void)); // expected-error-re{{'swift_async' completion handler parameter must have block …
19 SA(43) void k(void); // expected-error{{'swift_async' attribute requires parameter 1 to be an ident…
23 …ift_private, 1); // expected-error-re{{'swift_async' completion handler parameter must have block …
24 …llback SA(swift_private, 0); // expected-error{{'swift_async' attribute parameter 2 is out of boun…
25 …llback SA(swift_private, 2); // expected-error{{'swift_async' attribute parameter 2 is out of boun…
35 …SA(swift_private, 0) void mf4(void (^)()); // expected-error{{'swift_async' attribute parameter 2 …
36 …oid mf5(int (^)()); // expected-error{{'swift_async' completion handler parameter must have block …
H A Dargument-checking.m5 extern int charStarFunc(char *); // expected-note{{passing argument to parameter here}}
6 extern int charFunc(char); // expected-note{{passing argument to parameter here}}
10 -(int)charStarMeth:(char *)s; // expected-note{{passing argument to parameter 's' here}}
11 -structMeth:(struct S)s; // expected-note{{passing argument to parameter 's' here}}
13 :(struct S)s2; // expected-note{{passing argument to parameter 's2' here}}
20 …ted-error {{incompatible integer to pointer conversion passing 'int' to parameter of type 'char *'…
21 …-error {{incompatible pointer to integer conversion passing 'char[4]' to parameter of type 'char'}}
H A Dparameterized_classes.m30 // expected-note@-1{{type parameter 'T' declared here}}
31 // expected-note@-2{{type parameter 'U' declared here}}
32 // expected-note@-3{{type parameter 'U' declared here}}
35 // Parse a type parameter with a bound that terminates in '>>'.
47 // Parse a type parameter list without a superclass.
51 // Parse a type parameter with name conflicts.
53 T> : NSObject // expected-error{{redeclaration of type parameter 'T'}}
65 @interface PC9<T : int, // expected-error{{type bound 'int' for type parameter 'T' is not an Object…
66 …String> : NSObject // expected-error{{missing '*' in type bound 'NSString' for type parameter 'U'}}
77 @class PC10<T, U : NSObject *>, PC11<T : NSObject *, U : id>; // expected-note{{type parameter 'T' …
[all …]
H A Dparameterized_classes_subst.m39 …ct atIndexedSubscript:(int)index; // expected-note 2{{passing argument to parameter 'object' here}}
52 - (void)addObject:(U)object; // expected-note 7{{passing argument to parameter 'object' here}}
76 - (V)objectForKeyedSubscript:(K)key; // expected-note 2{{parameter 'key'}}
81 // expected-note@-1 {{parameter 'object' here}}
82 // expected-note@-2 {{parameter 'object' here}}
83 // expected-note@-3 {{parameter 'key' here}}
84 // expected-note@-4 {{parameter 'key' here}}
110 // expected-note@-1 {{parameter 'object' here}}
123 …Test2<ViewType : NSView * _Nullable> : NSObject // expected-error{{type parameter 'ViewType' bound…
183 …: stringArray]; // expected-warning{{sending 'NSArray<NSString *> *' to parameter of type 'NSArray…
[all …]
H A Dwarn-called-once.m54 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
59 (callback)(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
64 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
69 (*callback)(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
73 // We don't really need to repeat the same warning for the same parameter.
78 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
87 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
95 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
119 callback(); // expected-warning{{'callback' parameter marked 'called_once' is called twice}}
129 // expected-warning@-1{{'callback' parameter marked 'called_once' is called twice}}
[all …]
H A Dparameterized_classes_arc.m14 - (void) set: (T) v; // expected-note 4 {{parameter}}
77 // Tests for generic parameter bounds.
79 @interface PC2<T : __strong id> // expected-error {{type bound '__strong id' for type parameter 'T'…
82 @interface PC3<T : __weak id> // expected-error {{type bound '__weak id' for type parameter 'T' can…
85 …g Forward*> // expected-error {{type bound 'Forward *__strong' for type parameter 'T' cannot be qu…
88 …eak Forward*> // expected-error {{type bound 'Forward *__weak' for type parameter 'T' cannot be qu…
91 … // expected-error {{type bound 'StrongID' (aka '__strong id') for type parameter 'T' cannot be qu…
94 …d-error {{type bound 'StrongForward' (aka 'Forward *__strong') for type parameter 'T' cannot be qu…
98 @interface PC8<T : const id> // expected-error {{type bound 'const id' for type parameter 'T' canno…
101 @interface PC9<T : volatile id> // expected-error {{type bound 'volatile id' for type parameter 'T'…
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dvla-ext-diag.cpp20 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in func()
21 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in func()
27 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
30 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
32 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in old_style_static_assert()
33 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
36 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
38 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in old_style_static_assert()
39 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
/llvm-project/mlir/test/mlir-tblgen/
H A Dattr-or-type-format.mlir25 // expected-error@+2 {{failed to parse TestAttrUgly parameter 'attr'}}
48 // expected-error@+1 {{failed to parse TestAttrWithFormat parameter 'one'}}
55 // Test parameter parser failure is propagated
57 // expected-error@+1 {{failed to parse TestAttrWithFormat parameter 'one'}}
72 // expected-error@+1 {{expected a parameter name in struct}}
79 // expected-error@+1 {{duplicate or unknown struct parameter}}
86 // expected-error@+1 {{duplicate or unknown struct parameter}}
101 // expected-error@+1 {{failed to parse TestAttrWithFormat parameter 'three'}}
113 // expected-error@+1 {{failed to parse TestTypeWithFormat parameter 'one'}}
119 // expected-error@+1 {{failed to parse TestTypeWithFormat parameter 'three'}}
[all …]
H A Dattr-or-type-format-invalid.td15 // Test format is missing a parameter capture.
18 // CHECK: format is missing reference to parameter: v1
22 // Test format has duplicate parameter captures.
25 // CHECK: duplicate parameter 'v0'
51 // Test capture parameter that does not exist.
54 // CHECK: InvalidTypeF has no parameter named 'v1'
58 // Test duplicate capture of parameter in capture-all struct.
61 // CHECK: duplicate parameter 'v0'
68 // CHECK: `params` captures duplicate parameter: v0
72 // Test capture of parameter after `params` directive.
[all …]
/llvm-project/clang/test/SemaObjCXX/
H A Dparameterized_classes_arc.mm35 …[obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *' with an lvalue…
40 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
45 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
58 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
89 // Tests for generic parameter bounds.
91 @interface PC2<T : __strong id> // expected-error {{type bound '__strong id' for type parameter 'T'…
94 @interface PC3<T : __weak id> // expected-error {{type bound '__weak id' for type parameter 'T' can…
97 …g Forward*> // expected-error {{type bound 'Forward *__strong' for type parameter 'T' cannot be qu…
100 …eak Forward*> // expected-error {{type bound 'Forward *__weak' for type parameter 'T' cannot be qu…
103 … // expected-error {{type bound 'StrongID' (aka '__strong id') for type parameter 'T' cannot be qu…
[all …]
/llvm-project/clang/test/Analysis/
H A Dautoreleasewritechecker_test.m98 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
111 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
152 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
158 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
159 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
172 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside locally-s…
205 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside locally-s…
213 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside locally-s…
214 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside locally-s…
231 …ror errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter inside autorelea…
[all …]
H A Dexplain-svals.m41 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
45 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
49 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
53 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
62 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
63 clang_analyzer_explain(&n); // expected-warning-re{{{{^pointer to parameter 'n'$}}}}
66 clang_analyzer_explain(&param); // expected-warning-re{{{{^pointer to parameter 'param'$}}}}
67 clang_analyzer_explain(&n); // expected-warning-re{{{{^pointer to parameter 'n'$}}}}
/llvm-project/clang/test/APINotes/
H A Dtypes.m18 ip2, // expected-warning{{incompatible pointer types passing 'int *' to parameter of type 'double *'}}
19 ip2); // expected-warning{{incompatible pointer types passing 'int *' to parameter of type 'float *'}}
22 methodToMangle: ip3 // expected-warning{{incompatible pointer types sending 'int *' to parameter of type 'double *'}}
23 second: ip3]; // expected-warning{{incompatible pointer types sending 'int *' to parameter of type 'float *'}}
28 // expected-note@SomeKit/SomeKit.h:42{{passing argument to parameter 'ptr' here}}
29 // expected-note@SomeKit/SomeKit.h:42{{passing argument to parameter 'ptr2' here}}
30 // expected-note@SomeKit/SomeKit.h:48{{passing argument to parameter 'ptr1' here}}
31 // expected-note@SomeKit/SomeKit.h:48{{passing argument to parameter 'ptr2' here}}
/llvm-project/llvm/test/Verifier/AMDGPU/
H A Dintrinsic-immarg.ll5 ; CHECK: immarg operand has non-immediate parameter
14 ; CHECK: immarg operand has non-immediate parameter
23 ; CHECK: immarg operand has non-immediate parameter
32 ; CHECK: immarg operand has non-immediate parameter
41 ; CHECK: immarg operand has non-immediate parameter
46 ; CHECK: immarg operand has non-immediate parameter
51 ; CHECK: immarg operand has non-immediate parameter
56 ; CHECK: immarg operand has non-immediate parameter
65 ; CHECK: immarg operand has non-immediate parameter
70 ; CHECK: immarg operand has non-immediate parameter
[all...]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dnamed-parameter.rst1 .. title:: clang-tidy - hicpp-named-parameter
3 :http-equiv=refresh: 5;URL=../readability/named-parameter.html
5 hicpp-named-parameter
8 This check is an alias for :doc:`readability-named-parameter <../readability/named-parameter>`.
/llvm-project/llvm/test/Verifier/ARM/
H A Dintrinsic-immarg.ll6 ; CHECK: immarg operand has non-immediate parameter
18 ; CHECK: immarg operand has non-immediate parameter
30 ; CHECK: immarg operand has non-immediate parameter
35 ; CHECK: immarg operand has non-immediate parameter
40 ; CHECK: immarg operand has non-immediate parameter
49 ; CHECK: immarg operand has non-immediate parameter
54 ; CHECK: immarg operand has non-immediate parameter
59 ; CHECK: immarg operand has non-immediate parameter
68 ; CHECK: immarg operand has non-immediate parameter
73 ; CHECK: immarg operand has non-immediate parameter
[all …]
/llvm-project/llvm/test/Verifier/
H A Dintrinsic-immarg.ll5 ; CHECK: immarg operand has non-immediate parameter
14 ; CHECK: immarg operand has non-immediate parameter
23 ; CHECK: immarg operand has non-immediate parameter
32 ; CHECK: immarg operand has non-immediate parameter
41 ; CHECK: immarg operand has non-immediate parameter
50 ; CHECK: immarg operand has non-immediate parameter
59 ; CHECK: immarg operand has non-immediate parameter
68 ; CHECK: immarg operand has non-immediate parameter
77 ; CHECK: immarg operand has non-immediate parameter
82 ; CHECK: immarg operand has non-immediate parameter
[all...]

12345678910>>...39