Home
last modified time | relevance | path

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

/external/clang/test/Analysis/
Dvla.c8 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} in check_zero_sized_VLA() local
13 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … in check_uninit_sized_VLA() local
18 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in vla_allocate_signed() local
22 int vla[x]; // no-warning in vla_allocate_unsigned() local
35 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_3() local
40 int vla[x]; // no-warning in check_negative_sized_VLA_4() local
45 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_5() local
50 int vla[x]; // no-warning in check_negative_sized_VLA_6() local
55 int vla[x + 2]; // no-warning in check_negative_sized_VLA_7() local
60 int vla[x - 2]; // expected-warning{{Declared variable-length array (VLA) has negative size}} in check_negative_sized_VLA_8() local
[all …]
Dcxx-crashes.cpp62 void vla(int n) { in vla() function
Doutofbound.c58 void vla(int a) { in vla() function
Dtaint-generic.c184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} in testTaintedVLASize() local
Dpadding_c.c118 int vla[]; member
/external/clang/test/Sema/
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
Dscope-check.c197 int vla[n]; in test13() local
209 int vla[n]; in test14() local
227 char vla[n]; // expected-note {{jump bypasses initialization}} in test15() local
Dblock-misc.c205 int vla[n]; // expected-note {{declared here}} in test20() local
/external/clang/test/CodeGen/
Ddebug-info-vla.c9 int vla[s]; in testVLAwithSize() local
Dvarargs.c18 void vla(int n, ...) in vla() function
Dvla.c18 int vla[x]; in f0() local
/external/swiftshader/third_party/subzero/crosstest/
Dtest_stacksave.c24 uint32_t vla[size]; in DECLARE_TESTS() local
41 uint32_t vla[size1]; in test_vla_in_loop() local
/external/clang/test/SemaCXX/
Dc99-variable-length-array-cxx11.cpp20 void vla(int N) { in vla() function
Dc99-variable-length-array.cpp16 void vla(int N) { in vla() function
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp4.cpp50 typedef int vla[N]; in test_result_type() typedef
/external/clang/test/CXX/temp/temp.arg/temp.arg.type/
Dp2.cpp28 int vla[n]; in test_f0() local
/external/clang/test/ARCMT/
Dcxx-checking.mm98 void vla(int n) { function
/external/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c231 uint32_t vla[1 + DIV_ROUND_UP(key_size, sizeof(uint32_t))]; in anv_pipeline_cache_search_locked() local
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1456 const VariableArrayType *vla; in EmitNullInitialization() local
1635 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); in getVLASize() local
DCGExprScalar.cpp1717 if (const VariableArrayType *vla in EmitScalarPrePostIncDec() local
2465 if (const VariableArrayType *vla in emitPointerArithmetic() local
2655 if (const VariableArrayType *vla in EmitSub() local
DCGExpr.cpp2834 const VariableArrayType *vla) { in getFixedSizeElementType()
2855 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { in emitArraySubscriptGEP() local
2909 if (const VariableArrayType *vla = in EmitArraySubscriptExpr() local
DCGDecl.cpp1088 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); in EmitAutoVarAlloca() local
/external/clang/test/OpenMP/
Dtarget_map_codegen.cpp608 double vla[2][a]; in implicit_maps_variable_length_array() local