/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/Sema/ |
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/CodeGen/ |
vla.c | 5 // Extremely basic VLA test 18 int vla[x]; local 19 return vla[x-1]; 114 // VLA captures.
|
/external/clang/test/Analysis/ |
outofbound.c | 58 void vla(int a) { function
|
/external/clang/test/SemaCXX/ |
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/lib/CodeGen/ |
CodeGenFunction.cpp | 635 /// \param sizeInChars - the total size of the VLA, in chars 636 /// \param align - the total alignment of the VLA 650 llvm::Value *begin = Builder.CreateBitCast(dest, i8p, "vla.begin"); 651 llvm::Value *end = Builder.CreateInBoundsGEP(dest, sizeInChars, "vla.end"); 654 llvm::BasicBlock *loopBB = CGF.createBasicBlock("vla-init.loop"); 655 llvm::BasicBlock *contBB = CGF.createBasicBlock("vla-init.cont"); 657 // Make a loop over the VLA. C99 guarantees that the VLA element 661 llvm::PHINode *cur = Builder.CreatePHI(i8p, 2, "vla.cur"); 670 llvm::Value *next = Builder.CreateConstInBoundsGEP1_32(cur, 1, "vla.next") 704 const VariableArrayType *vla; local 868 const VariableArrayType *vla = getContext().getAsVariableArrayType(type); local [all...] |
CGDecl.cpp | 257 // We can't have a VLA here, but we can have a pointer to a VLA, 259 // Make sure to evaluate VLA bounds now so that we have them for later. 726 // If the type is variably-modified, emit all the VLA sizes for it. 835 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); local 836 vla->setAlignment(alignment.getQuantity()); 838 DeclPtr = vla; [all...] |
CGExprScalar.cpp | [all...] |
CGExpr.cpp | [all...] |
CodeGenFunction.h | [all...] |