Searched refs:VLA (Results 1 – 12 of 12) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VLASizeChecker.cpp | 86 const VariableArrayType *VLA = Ctx.getAsVariableArrayType(VD->getType()); in checkPreStmt() local 87 if (!VLA) in checkPreStmt() 91 const Expr *SE = VLA->getSizeExpr(); in checkPreStmt() 136 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType()); in checkPreStmt()
|
D | Checkers.td | 68 HelpText<"Check for declarations of VLA of undefined or zero size">,
|
/external/clang/test/CodeGen/ |
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 | 491 // Capture the VLA size. 499 // Allocate the VLA. 500 // CHECK-NEXT: [[VLA:%.*]] = alloca i8*, i64 [[DIM]], align 16 503 // CHECK-NEXT: [[T0:%.*]] = bitcast i8** [[VLA]] to i8* 508 // CHECK-NEXT: [[END:%.*]] = getelementptr inbounds i8** [[VLA]], i64 [[DIM]] 509 // CHECK-NEXT: [[EMPTY:%.*]] = icmp eq i8** [[VLA]], [[END]] 516 // CHECK-NEXT: [[EQ:%.*]] = icmp eq i8** [[CUR]], [[VLA]] 532 // Capture the VLA size. 540 // Allocate the VLA. 542 // CHECK-NEXT: [[VLA:%.*]] = alloca [3 x i8*], i64 [[T0]], align 16 [all …]
|
/external/clang/test/ARCMT/ |
D | cxx-checking.mm | 103 // 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/llvm/docs/ |
D | GetElementPtr.rst | 313 How does VLA addressing work with GEPs? 319 VLA indices can be implemented as linearized indices. For example, an expression 327 library, which always presents VLA and non-VLA indexing in the same manner.
|
/external/clang/include/clang/Basic/ |
D | DiagnosticGroups.td | 286 def VLA : DiagGroup<"vla">; 436 def GNU : DiagGroup<"gnu", [GNUDesignator, VLA]>;
|
D | DiagnosticSemaKinds.td | 84 InGroup<VLA>; 3448 "jump bypasses initialization of VLA typedef">; 3450 "jump bypasses initialization of VLA type alias">;
|
/external/clang/test/Analysis/ |
D | misc-ps.m | 126 int vla[x]; // expected-warning{{Declared variable-length array (VLA) has zero size}} 131 …int vla[x]; // expected-warning{{Declared variable-length array (VLA) uses a garbage value as its … 862 // <rdar://problem/7593875> When handling sizeof(VLA) it leads to a hole in 868 int z[n > 10 ? 10 : n]; // VLA.
|
D | misc-ps-region-store.m | 1168 // <rdar://problem/8424269> - Handle looking at the size of a VLA in
|