Home
last modified time | relevance | path

Searched defs:vla (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project/clang/test/Analysis/
H A Dvla.c12 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} in check_zero_sized_VLA() local
17 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … in check_uninit_sized_VLA() local
22 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in vla_allocate_signed() local
26 int vla[x]; // no-warning in vla_allocate_unsigned() local
39 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_3() local
44 int vla[x]; // no-warning in check_negative_sized_VLA_4() local
49 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_5() local
54 int vla[x]; // no-warning in check_negative_sized_VLA_6() local
59 int vla[x + 2]; // no-warning in check_negative_sized_VLA_7() local
64 int vla[x - 2]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_8() local
[all …]
H A Dcfg.c86 int vla[x]; in vla_simple() local
/llvm-project/clang/test/OpenMP/
H A Dtarget_vla_messages.cpp24 int vla[arg]; in declare() local
52 T vla[arg]; in target_template() local
62 int vla[arg]; in target() local
72 int vla[arg]; in target() local
84 int vla[arg]; in teams_reduction() local
125 int vla[arg]; in parallel_reduction() local
166 int vla[arg]; in for_reduction() local
H A Dtarget_parallel_defaultmap_messages.cpp64 int vla[argc]; tmain() local
126 int vla[argc]; main() local
[all...]
H A Dtarget_defaultmap_messages.cpp74 int vla[argc]; tmain() local
132 int vla[argc]; main() local
[all...]
H A Dtarget_map_codegen_12.cpp47 double vla[2][a]; in implicit_maps_variable_length_array() local
H A Dtarget_has_device_addr_codegen_01.cpp24 float vla[(int)a]; in main() local
H A Dtarget_data_use_device_addr_codegen.cpp38 float vla[(int)a]; in main() local
/llvm-project/clang/test/CodeGen/
H A Dstack-clash-protection.c16 void vla(int n) { in vla() function
17 volatile int vla[n]; in vla() local
H A Ddebug-info-vla.c10 int vla[s]; in testVLAwithSize() local
H A Dvarargs.c18 void vla(int n, ...) in vla() function
/llvm-project/clang/test/Sema/
H A Dc11-typedef-redef.c12 typedef int vla[N]; // expected-note{{previous definition is here}} in f() typedef
13 …typedef int vla[N]; // expected-error{{redefinition of typedef for variably-modified type 'int[N]'… in f() typedef
H A Dscope-check.c198 int vla[n]; in test13() local
210 int vla[n]; in test14() local
228 char vla[n]; // expected-note {{jump bypasses initialization}} in test15() local
/llvm-project/clang/test/C/C23/
H A Dn2900_n3011_2.c49 int vla[num_elts] = {}; in test_vla() local
65 int vla[num_elts] = {}; in test_zero_size_vla() local
H A Dn2900_n3011.c28 …int vla[i] = {}; // compat-warning {{use of an empty initializer is incompatible with C standards … in test() local
/llvm-project/clang/test/SemaCUDA/
H A Dno-call-stack-for-immediate-errs.cu16 int vla[n]; // expected-error {{variable-length array}} in device_fn() local
H A Dcall-stack-for-deferred-err.cu17 int vla[n]; // expected-error {{variable-length array}} in hd_fn() local
/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp4.cpp50 typedef int vla[N]; // expected-warning {{variable length arrays in C++ are a Clang extension}} \ in test_result_type() typedef
58 typedef int vla[N]; // expected-warning 2{{variable length arrays in C++ are a Clang extension}} \ in test_result_type_tpl() typedef
/llvm-project/cross-project-tests/debuginfo-tests/dexter-tests/
H A Dvla.c10 int vla[size]; in init_vla() local
/llvm-project/lldb/test/API/lang/c/vla/
H A Dmain.c4 int vla[a]; in foo() local
/llvm-project/clang/test/SemaCXX/
H A Dvla-ext-diag.cpp19 int vla[n]; // expected-warning {{variable length arrays in C++ are a Clang extension}} \ in func() local
H A Dc99-variable-length-array-cxx11.cpp20 void vla(int N) { // expected-note 5{{here}} in vla() function
/llvm-project/clang/test/CodeGenCXX/
H A Dauto-var-init-stop-after.cpp25 S vla[n]; in foo() local
H A Dtrivial-auto-var-init.cpp170 int vla[size]; test_vla() local
256 } vla[size]; test_struct_vla() local
[all...]
/llvm-project/clang/test/CXX/temp/temp.arg/temp.arg.type/
H A Dp2.cpp28 int vla[n]; // expected-warning {{variable length arrays in C++ are a Clang extension}} in test_f0() local

12