Home
last modified time | relevance | path

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

12345678910>>...28

/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.f90.var17 integer, parameter :: omp_integer_kind = c_int
18 integer, parameter :: omp_logical_kind = 4
19 integer, parameter :: omp_real_kind = c_float
20 integer, parameter :: kmp_double_kind = c_double
21 integer, parameter :: omp_lock_kind = c_intptr_t
22 integer, parameter :: omp_nest_lock_kind = c_intptr_t
25 integer, parameter :: kmp_pointer_kind = c_intptr_t
26 integer, parameter :: kmp_size_t_kind = c_size_t
37 integer, parameter :: omp_interop_kind = c_intptr_t
46 integer, parameter :: omp_depend_kind = c_intptr_t
[all …]
H A Domp_lib.h.var14 parameter(omp_integer_kind=4)
16 parameter(omp_logical_kind=4)
18 parameter(omp_real_kind=4)
78 parameter(omp_sched_auto=4)
159 parameter(omp_atv_false=0)
162 parameter(omp_atv_true=1)
174 parameter(omp_atv_all=7)
253 parameter(omp_ifr_cuda=1)
259 parameter(omp_ifr_sycl=4)
261 parameter(omp_ifr_hip=5)
[all …]
/llvm-project-15.0.7/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
14 # CHECK-NEXT:.macro invalid_qualifier parameter:invalid_qualifier
16 .macro invalid_qualifier parameter:invalid_qualifier argument
19 # CHECK-NEXT:.macro pointless_default parameter:req=default
21 .macro pointless_default parameter:req=default
[all …]
H A Dmacro-required-argument.s3 .macro required parameter:req
4 .long \parameter
10 .macro required_with_default parameter:req=0
11 .long \parameter
/llvm-project-15.0.7/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…
28 …img2d_ro(img); // expected-error {{passing '__private __read_write image2d_t' to parameter of inc…
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dwarning-missing-selector-name.m8 …id)Arg2; // expected-warning {{'Name2' used as the name of the previous parameter rather than as p…
9 // expected-note {{introduce a parameter name to make 'Name2' part of the selector}} \
10 …// expected-note {{or insert whitespace before ':' to use 'Name2' as parameter name and have an em…
13 // expected-note {{introduce a parameter name to make 'Name3' part of the selector}} \
14 …// expected-note {{or insert whitespace before ':' to use 'Name3' as parameter name and have an em…
16 // expected-note {{introduce a parameter name to make 'second' part of the selector}} \
17 …// expected-note {{or insert whitespace before ':' to use 'second' as parameter name and have an e…
25 // expected-note {{introduce a parameter name to make 'Name2' part of the selector}} \
26 …// expected-note {{or insert whitespace before ':' to use 'Name2' as parameter name and have an em…
29 // expected-note {{introduce a parameter name to make 'Name3' part of the selector}} \
[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}} \
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…
40 …dictionary[key] = newObject; // expected-error {{method object parameter type 'void *' is not obj…
[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 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 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 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.
256 // expected-note@-1{{type parameter 'V' declared here}}
257 // expected-note@-2{{type parameter 'V' declared here}}
258 // expected-note@-3{{type parameter 'U' declared here}}
356 …nt Y> () // expected-error{{covariant type parameter 'Y' conflicts with previous contravariant typ…
[all …]
H A Dparameterized_classes_subst.m76 - (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}}
281 mutStringArray[0] = ip; // expected-warning{{parameter of type 'NSString *'}}
286 mutArray[0] = ip; // expected-warning{{parameter of type 'id'}}
299 mutDict[string] = ip; // expected-warning{{to parameter of type 'id'}}
441 // expected-note{{passing argument to parameter 'key' here}}
[all …]
H A Dparameterized_classes_arc.m16 - (void) set: (T) v; // expected-note 4 {{parameter}}
79 // Tests for generic parameter bounds.
81 @interface PC2<T : __strong id> // expected-error {{type bound '__strong id' for type parameter 'T'…
84 @interface PC3<T : __weak id> // expected-error {{type bound '__weak id' for type parameter 'T' can…
87 …g Forward*> // expected-error {{type bound 'Forward *__strong' for type parameter 'T' cannot be qu…
90 …eak Forward*> // expected-error {{type bound 'Forward *__weak' for type parameter 'T' cannot be qu…
93 … // expected-error {{type bound 'StrongID' (aka '__strong id') for type parameter 'T' cannot be qu…
96 …d-error {{type bound 'StrongForward' (aka 'Forward *__strong') for type parameter 'T' cannot be qu…
100 @interface PC8<T : const id> // expected-error {{type bound 'const id' for type parameter 'T' canno…
103 @interface PC9<T : volatile id> // expected-error {{type bound 'volatile id' for type parameter 'T'…
[all …]
H A Dwarn-called-once.m54 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.
129 // expected-warning@-1{{'callback' parameter marked 'called_once' is called twice}}
134 // expected-warning@-1{{'callback' parameter marked 'called_once' is never called}}
138 // expected-warning@-1{{'callback' parameter marked 'called_once' is never called}}
232 // alone when there is no actual declaration of the marked parameter.
274 // expected-warning@-1{{'inner' parameter marked 'called_once' is never called}}
284 outer(); // expected-warning{{'outer' parameter marked 'called_once' is called twice}}
528 // expected-warning@-1{{'callback' parameter marked 'called_once' is never called}}
719 // expected-warning@-1{{'callback' parameter marked 'called_once' is never called}}
[all …]
/llvm-project-15.0.7/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 `readability-named-parameter <../readability/named-parameter.html>`_.
10 Implements `rule 8.2.1 <http://www.codingstandard.com/rule/8-2-1-make-parameter-names-absent-or-ide…
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h12 integer, parameter :: omp_logical_kind = kind(.true.)
14 integer, parameter :: omp_sched_kind = omp_integer_kind
24 integer, parameter :: omp_lock_kind = int_ptr_kind()
28 integer(kind=omp_sched_kind), parameter :: &
34 integer(kind=omp_proc_bind_kind), parameter :: &
41 integer(kind=omp_pause_resource_kind), parameter :: &
45 integer(kind=omp_sync_hint_kind), parameter :: &
51 integer(kind=omp_lock_hint_kind), parameter :: &
58 integer(kind=omp_event_handle_kind), parameter :: &
62 integer(kind=omp_alloctrait_key_kind), parameter :: &
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticSerializationKinds.td156 "unnamed template parameter|"
157 "template parameter %5|"
164 "unnamed template parameter %2|"
165 "template parameter %3|"
203 "that has %6 parameter%s6|"
207 "with %ordinal6 parameter named %7|"
236 "being a template parameter pack|"
260 "that has %4 parameter%s4|"
293 "being a template parameter pack|"
357 "%ordinal4 parameter with name %5|"
[all …]
/llvm-project-15.0.7/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'
61 // CHECK: duplicate parameter 'v0'
68 // CHECK: `params` captures duplicate parameter: v0
72 // Test capture of parameter after `params` directive.
75 // CHECK: duplicate parameter 'v0'
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dparameterized_classes_arc.mm37 …[obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *' with an lvalue…
42 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
47 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
60 [obj set: x]; // expected-error {{cannot initialize a parameter of type 'Forward *'}}
91 // Tests for generic parameter bounds.
93 @interface PC2<T : __strong id> // expected-error {{type bound '__strong id' for type parameter 'T'…
96 @interface PC3<T : __weak id> // expected-error {{type bound '__weak id' for type parameter 'T' can…
99 …g Forward*> // expected-error {{type bound 'Forward *__strong' for type parameter 'T' cannot be qu…
102 …eak Forward*> // expected-error {{type bound 'Forward *__weak' for type parameter 'T' cannot be qu…
112 @interface PC8<T : const id> // expected-error {{type bound 'const id' for type parameter 'T' canno…
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dautoreleasewritechecker_test.m172 …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…
281 … *error = [NSError errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter}}
288 writeIntoError(error); // expected-warning{{Capture of autoreleasing out parameter}}
313 … [capturer captureErrorOut:error]; // expected-warning{{Capture of autoreleasing out parameter}}
327 writeIntoError(error); // expected-warning{{Capture of autoreleasing out parameter}}
328 … *error = [NSError errorWithDomain:1]; // expected-warning{{Write to autoreleasing out parameter}}
329 writeIntoError(error); // expected-warning{{Capture of autoreleasing out parameter}}
[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-15.0.7/llvm/test/Verifier/AMDGPU/
H A Dintrinsic-immarg.ll5 ; CHECK: immarg operand has non-immediate parameter
10 ; CHECK: immarg operand has non-immediate parameter
19 ; CHECK: immarg operand has non-immediate parameter
28 ; CHECK: immarg operand has non-immediate parameter
37 ; CHECK: immarg operand has non-immediate parameter
46 ; CHECK: immarg operand has non-immediate parameter
55 ; CHECK: immarg operand has non-immediate parameter
60 ; 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-15.0.7/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-15.0.7/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
40 ; CHECK: immarg operand has non-immediate parameter
49 ; CHECK: immarg operand has non-immediate parameter
58 ; CHECK: immarg operand has non-immediate parameter
67 ; CHECK: immarg operand has non-immediate parameter
75 ; CHECK: immarg operand has non-immediate parameter
85 ; CHECK: immarg operand has non-immediate parameter
[all …]

12345678910>>...28