HomeSort by relevance Sort by last modified time
    Searched refs:vla (Results 1 - 18 of 18) sorted by null

  /external/clang/test/CodeGen/
debug-info-vla.c 5 // CHECK: metadata !{i32 {{.*}}, metadata {{.*}}, metadata !"vla", metadata {{.*}}, i32 [[@LINE+1]], metadata {{.*}}, i32 8192, i32 0} ; [ DW_TAG_auto_variable ] [vla] [line [[@LINE+1]]]
6 int vla[s]; local
9 vla[i] = i*i;
varargs.c 18 void vla(int n, ...) function
vla.c 5 // Extremely basic VLA test
18 int vla[x]; local
19 return vla[x-1];
114 // VLA captures.
  /external/clang/test/Sema/
c11-typedef-redef.c 12 typedef int vla[N]; // expected-note{{previous definition is here}} typedef
13 typedef int vla[N]; // expected-error{{redefinition of typedef for variably-modified type 'int [N]'}} typedef
scope-check.c 13 typedef int a[x]; // expected-note {{jump bypasses initialization of VLA typedef}}
155 typedef int A[n]; // expected-note {{jump bypasses initialization of VLA typedef}}
197 int vla[n];
209 int vla[n];
211 vla[n-1] = 0;
218 // PR8473: IR gen can't deal with indirect gotos past VLA
227 char vla[n]; // expected-note {{jump bypasses initialization}}
229 vla[0] = 'a';
block-misc.c 205 int vla[n]; // expected-note {{declared here}}
207 vla[1] = 4341;
209 (void)vla[1]; // expected-error {{cannot refer to declaration with a variably modified type inside block}}
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p4.cpp 53 typedef int vla[N];
54 auto l2 = [] () -> vla { }; // expected-error{{function cannot return array type 'vla' (aka 'int [N]')}}
  /external/clang/test/SemaCXX/
c99-variable-length-array-cxx11.cpp 20 void vla(int N) { function
c99-variable-length-array.cpp 16 void vla(int N) { function
66 // Template argument deduction does not allow deducing a size from a VLA.
  /external/clang/test/CXX/temp/temp.arg/temp.arg.type/
p2.cpp 18 int vla[n]; local
19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
  /external/clang/test/Analysis/
cxx-crashes.cpp 62 void vla(int n) { function
68 // This struct is POD, though, so it should be fine to put it in a VLA.
outofbound.c 58 void vla(int a) { function
taint-generic.c 184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} local
  /external/clang/lib/CodeGen/
CodeGenFunction.cpp 1209 const VariableArrayType *vla; local
1387 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local
    [all...]
CGDecl.cpp 312 // We can't have a VLA here, but we can have a pointer to a VLA,
314 // Make sure to evaluate VLA bounds now so that we have them for later.
842 // If the type is variably-modified, emit all the VLA sizes for it.
960 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local
    [all...]
CGExprScalar.cpp     [all...]
CodeGenFunction.h 862 // VLASizeMap - This keeps track of the associated size for each VLA type.
864 // in certain situations, like a const qualifier applied to an VLA typedef,
865 // multiple VLA types can share the same size expression.
    [all...]
CGExpr.cpp     [all...]

Completed in 337 milliseconds