Home | History | Annotate | Download | only in Sema

Lines Matching defs:ArraySize

1172   Expr *ArraySize = nullptr;
1187 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts);
1192 if (ArraySize) {
1240 ArraySize,
1273 Expr *ArraySize,
1330 if (!ArraySize) {
1333 ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
1360 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) {
1361 ExprResult result = CheckPlaceholderExpr(ArraySize);
1363 ArraySize = result.get();
1372 if (ArraySize && !ArraySize->isTypeDependent()) {
1377 ConvertedSize = PerformImplicitConversion(ArraySize, Context.getSizeType(),
1381 ArraySize->getType()->getAs<RecordType>())
1384 << ArraySize->getType() << 0 << "'size_t'";
1388 Expr *ArraySize;
1391 SizeConvertDiagnoser(Expr *ArraySize)
1393 ArraySize(ArraySize) {}
1404 << T << ArraySize->getSourceRange();
1438 } SizeDiagnoser(ArraySize);
1440 ConvertedSize = PerformContextualImplicitConversion(StartLoc, ArraySize,
1446 ArraySize = ConvertedSize.get();
1447 QualType SizeType = ArraySize->getType();
1462 if (!ArraySize->isValueDependent()) {
1466 if (ArraySize->isIntegerConstantExpr(Value, Context)) {
1471 Diag(ArraySize->getLocStart(),
1473 << ArraySize->getSourceRange();
1475 return ExprError(Diag(ArraySize->getLocStart(),
1477 << ArraySize->getSourceRange());
1483 Diag(ArraySize->getLocStart(),
1486 << ArraySize->getSourceRange();
1488 return ExprError(Diag(ArraySize->getLocStart(),
1491 << ArraySize->getSourceRange());
1496 Diag(ArraySize->getLocStart(), diag::ext_new_paren_array_nonconst)
1497 << ArraySize->getSourceRange()
1516 UseGlobal, AllocType, ArraySize, PlacementArgs,
1523 if (ArraySize && !AllocType->isDependentType())
1569 if (ResultType->isArrayType() || ArraySize) {
1642 if (ArraySize && !BaseAllocType->isDependentType()) {
1659 ArraySize, initStyle, Initializer, ResultType, AllocTypeInfo,