Searched refs:VLA (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 46 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType()); in checkPreStmt() local 47 if (!VLA) in checkPreStmt() 51 const Expr* SE = VLA->getSizeExpr(); in checkPreStmt() 112 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType()); in checkPreStmt()
|
D | Checkers.td | 76 HelpText<"Check for declarations of VLA of undefined or zero size">,
|
/external/llvm/test/FrontendC/ |
D | 2006-01-13-StackSave.c | 8 int VLA[i]; in test() local 9 external(VLA); in test()
|
/external/clang/test/SemaObjC/ |
D | scope-check.m | 91 typedef int A[n]; // expected-note {{jump bypasses initialization of VLA typedef}}
|
/external/clang/test/CodeGenObjC/ |
D | arc.m | 496 // Capture the VLA size. 504 // Allocate the VLA. 505 // CHECK-NEXT: [[VLA:%.*]] = alloca i8*, i64 [[DIM]], align 16 508 // CHECK-NEXT: [[T0:%.*]] = bitcast i8** [[VLA]] to i8* 513 // CHECK-NEXT: [[END:%.*]] = getelementptr inbounds i8** [[VLA]], i64 [[DIM]] 514 // CHECK-NEXT: [[EMPTY:%.*]] = icmp eq i8** [[VLA]], [[END]] 521 // CHECK-NEXT: [[EQ:%.*]] = icmp eq i8** [[CUR]], [[VLA]] 537 // Capture the VLA size. 545 // Allocate the VLA. 547 // CHECK-NEXT: [[VLA:%.*]] = alloca [3 x i8*], i64 [[T0]], align 16 [all …]
|
/external/clang/include/clang/Basic/ |
D | DiagnosticGroups.td | 189 def VLA : DiagGroup<"vla">; 295 def GNU : DiagGroup<"gnu", [GNUDesignator, VLA]>;
|
D | DiagnosticSemaKinds.td | 39 InGroup<VLA>; 2493 "jump bypasses initialization of VLA typedef">; 2495 "jump bypasses initialization of VLA type alias">;
|
/external/clang/test/ARCMT/ |
D | cxx-checking.mm | 102 // It's okay to create a VLA of retainable types.
|
/external/clang/test/SemaObjCXX/ |
D | arc-non-pod.mm | 103 // It's okay to create a VLA of retainable types.
|
/external/clang/test/Analysis/ |
D | misc-ps.m | 132 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} 137 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … 847 // <rdar://problem/7593875> When handling sizeof(VLA) it leads to a hole in 853 int z[n > 10 ? 10 : n]; // VLA.
|
D | misc-ps-region-store.m | 1166 // <rdar://problem/8424269> - Handle looking at the size of a VLA in
|