Home
last modified time | relevance | path

Searched refs:ksize (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dvla.c105 const int ksize = 4; in test_fold_to_constant_array() local
108 char a1[ksize]; // expected-note{{variable length array}} in test_fold_to_constant_array()
112 …char a2[ksize] = "foo"; // expected-warning{{variable length array folded to constant array as an … in test_fold_to_constant_array()
116 …char a3[ksize] = {}; // expected-warning {{variable length array folded to constant array as an ex… in test_fold_to_constant_array()
120 char a4[ksize][2]; // expected-note{{variable length array}} in test_fold_to_constant_array()
123 …char a5[ksize][2] = {}; // expected-warning {{variable length array folded to constant array as an… in test_fold_to_constant_array()
125 …int a6[ksize] = {1,2,3,4}; // expected-warning{{variable length array folded to constant array as … in test_fold_to_constant_array()
128 int a7[ksize] __attribute__((annotate("foo"))) = {1,2,3,4}; in test_fold_to_constant_array()
131 char a8[2][ksize] = {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
134 char (*a9)[] = (char[2][ksize]) {{1,2,3,4},{4,3,2,1}}; in test_fold_to_constant_array()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dvariable-size-ivar.m3 const int ksize = 42;
8 int arr1[ksize]; // expected-warning{{variable length array folded to constant array}}
10 int arr3[ksize-43]; // expected-error{{array size is negative}}
/llvm-project-15.0.7/mlir/docs/
H A DOpDefinitions.md111 Each entry in `output` is the mean of the corresponding size `ksize`
118 Confined<I64ArrayAttr, [ArrayMinCount<4>]>:$ksize,