Lines Matching refs:ArraySize
959 Expr *ArraySize = 0;
974 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts);
979 if (ArraySize) {
1012 ArraySize,
1045 Expr *ArraySize,
1118 if (!ArraySize) {
1121 ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
1152 if (ArraySize && !ArraySize->isTypeDependent()) {
1154 StartLoc, ArraySize,
1157 << ArraySize->getSourceRange(),
1169 ArraySize = ConvertedSize.take();
1170 QualType SizeType = ArraySize->getType();
1184 if (!ArraySize->isValueDependent()) {
1188 if (ArraySize->isIntegerConstantExpr(Value, Context)) {
1193 Diag(ArraySize->getLocStart(),
1195 << ArraySize->getSourceRange();
1197 return ExprError(Diag(ArraySize->getLocStart(),
1199 << ArraySize->getSourceRange());
1205 Diag(ArraySize->getLocStart(),
1208 << ArraySize->getSourceRange();
1210 return ExprError(Diag(ArraySize->getLocStart(),
1213 << ArraySize->getSourceRange());
1218 Diag(ArraySize->getLocStart(), diag::ext_new_paren_array_nonconst)
1219 << ArraySize->getSourceRange()
1249 UseGlobal, AllocType, ArraySize, PlaceArgs,
1256 if (ArraySize && !AllocType->isDependentType())
1302 if (ResultType->isArrayType() || ArraySize) {
1367 if (ArraySize && !BaseAllocType->isDependentType()) {
1386 ArraySize, initStyle, Initializer,