/external/clang/test/Analysis/ |
H A D | vla.c | 8 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} local 13 int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its size}} local 18 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local 22 int vla[x]; // no-warning local 35 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local 40 int vla[x]; // no-warning local 45 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local 50 int vla[x]; // no-warning local 55 int vla[x + 2]; // no-warning local 60 int vla[ local 65 int vla[x]; // no-warning local 70 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has negative size}} local 80 int vla[x]; // no-warning local [all...] |
H A D | cxx-crashes.cpp | 62 void vla(int n) { function
|
H A D | outofbound.c | 58 void vla(int a) { function
|
H A D | padding_c.c | 118 int vla[]; member in struct:HoldsVLA
|
H A D | taint-generic.c | 184 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has tainted size}} local
|
/external/clang/test/CodeGen/ |
H A D | debug-info-vla.c | 7 // CHECK: ![[VAR]] = !DILocalVariable(name: "vla",{{.*}} line: [[@LINE+2]] 9 int vla[s]; local 12 vla[i] = i*i;
|
H A D | varargs.c | 18 void vla(int n, ...) function
|
H A D | vla.c | 18 int vla[x]; local 19 return vla[x-1];
|
/external/clang/test/Sema/ |
H A D | 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
|
H A D | scope-check.c | 197 int vla[n]; 209 int vla[n]; 211 vla[n-1] = 0; 227 char vla[n]; // expected-note {{jump bypasses initialization}} 229 vla[0] = 'a';
|
H A D | 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/ |
H A D | p4.cpp | 50 typedef int vla[N]; 51 auto l2 = [] () -> vla { }; // expected-error{{function cannot return array type 'vla' (aka 'int [N]')}}
|
/external/clang/test/SemaCXX/ |
H A D | c99-variable-length-array-cxx11.cpp | 20 void vla(int N) { function
|
H A D | c99-variable-length-array.cpp | 16 void vla(int N) { function
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.type/ |
H A D | p2.cpp | 18 int vla[n]; local 19 f0(0, vla); // expected-error{{no matching function for call to 'f0'}}
|
/external/clang/test/OpenMP/ |
H A D | target_map_codegen.cpp | 601 // - OMP_MAP_BYCOPY = 128 (vla size) 602 // - OMP_MAP_BYCOPY = 128 (vla size) 608 double vla[2][a]; local 644 vla[1][3] += 1.0;
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 1335 Builder.CreateElementBitCast(dest, CGF.Int8Ty, "vla.begin"); 1337 Builder.CreateInBoundsGEP(begin.getPointer(), sizeInChars, "vla.end"); 1340 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); 1341 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); 1347 llvm::PHINode *cur = Builder.CreatePHI(begin.getType(), 2, "vla.cur"); 1359 Builder.CreateInBoundsGEP(CGF.Int8Ty, cur, baseSizeInChars, "vla.next"); 1362 llvm::Value *done = Builder.CreateICmpEQ(next, end, "vla-init.isdone"); 1387 const VariableArrayType *vla; local 1403 vla = vlaType; 1409 vla 1566 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local [all...] |
H A D | CGDecl.cpp | 1077 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local 1078 vla->setAlignment(alignment.getQuantity()); 1080 address = Address(vla, alignment);
|
H A D | CGExpr.cpp | 2665 const VariableArrayType *vla) { 2668 eltType = vla->getElementType(); 2669 } while ((vla = ctx.getAsVariableArrayType(eltType))); 2686 if (auto vla = CGF.getContext().getAsVariableArrayType(eltType)) { 2687 eltType = getFixedSizeElementType(CGF.getContext(), vla); 2740 if (const VariableArrayType *vla = 2748 llvm::Value *numElements = getVLASize(vla).first; 2760 Addr = emitArraySubscriptGEP(*this, Addr, Idx, vla->getElementType(), 2664 getFixedSizeElementType(const ASTContext &ctx, const VariableArrayType *vla) argument
|
H A D | CGExprScalar.cpp | 1734 if (const VariableArrayType *vla 1736 llvm::Value *numElts = CGF.getVLASize(vla).first; 1737 if (!isInc) numElts = Builder.CreateNSWNeg(numElts, "vla.negsize"); 1739 value = Builder.CreateGEP(value, numElts, "vla.inc"); 1741 value = Builder.CreateInBoundsGEP(value, numElts, "vla.inc"); 2044 // If this isn't sizeof(vla), the result must be constant; use the constant 2478 if (const VariableArrayType *vla 2481 llvm::Value *numElements = CGF.getVLASize(vla).first; 2488 index = CGF.Builder.CreateMul(index, numElements, "vla.index"); 2491 index = CGF.Builder.CreateNSWMul(index, numElements, "vla [all...] |
H A D | CodeGenFunction.h | 1786 std::pair<llvm::Value*,QualType> getVLASize(const VariableArrayType *vla); 1787 std::pair<llvm::Value*,QualType> getVLASize(QualType vla);
|
/external/google-breakpad/ |
H A D | Makefile.am | 55 -Werror=vla
|