• Home
  • Raw
  • Download

Lines Matching refs:ArraySize

1405   Expr *ArraySize = nullptr;  in ActOnCXXNew()  local
1420 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
1425 if (ArraySize) { in ActOnCXXNew()
1473 ArraySize, in ActOnCXXNew()
1506 Expr *ArraySize, in BuildCXXNew() argument
1563 if (!ArraySize) { in BuildCXXNew()
1566 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), in BuildCXXNew()
1593 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) { in BuildCXXNew()
1594 ExprResult result = CheckPlaceholderExpr(ArraySize); in BuildCXXNew()
1596 ArraySize = result.get(); in BuildCXXNew()
1605 if (ArraySize && !ArraySize->isTypeDependent()) { in BuildCXXNew()
1610 ConvertedSize = PerformImplicitConversion(ArraySize, Context.getSizeType(), in BuildCXXNew()
1614 ArraySize->getType()->getAs<RecordType>()) in BuildCXXNew()
1617 << ArraySize->getType() << 0 << "'size_t'"; in BuildCXXNew()
1621 Expr *ArraySize; in BuildCXXNew() member in Sema::BuildCXXNew::SizeConvertDiagnoser
1624 SizeConvertDiagnoser(Expr *ArraySize) in BuildCXXNew() argument
1626 ArraySize(ArraySize) {} in BuildCXXNew()
1637 << T << ArraySize->getSourceRange(); in BuildCXXNew()
1671 } SizeDiagnoser(ArraySize); in BuildCXXNew()
1673 ConvertedSize = PerformContextualImplicitConversion(StartLoc, ArraySize, in BuildCXXNew()
1679 ArraySize = ConvertedSize.get(); in BuildCXXNew()
1680 QualType SizeType = ArraySize->getType(); in BuildCXXNew()
1695 if (!ArraySize->isValueDependent()) { in BuildCXXNew()
1699 if (ArraySize->isIntegerConstantExpr(Value, Context)) { in BuildCXXNew()
1704 Diag(ArraySize->getLocStart(), in BuildCXXNew()
1706 << ArraySize->getSourceRange(); in BuildCXXNew()
1708 return ExprError(Diag(ArraySize->getLocStart(), in BuildCXXNew()
1710 << ArraySize->getSourceRange()); in BuildCXXNew()
1716 Diag(ArraySize->getLocStart(), in BuildCXXNew()
1719 << ArraySize->getSourceRange(); in BuildCXXNew()
1721 return ExprError(Diag(ArraySize->getLocStart(), in BuildCXXNew()
1724 << ArraySize->getSourceRange()); in BuildCXXNew()
1729 Diag(ArraySize->getLocStart(), diag::ext_new_paren_array_nonconst) in BuildCXXNew()
1730 << ArraySize->getSourceRange() in BuildCXXNew()
1749 UseGlobal, AllocType, ArraySize, PlacementArgs, in BuildCXXNew()
1756 if (ArraySize && !AllocType->isDependentType()) in BuildCXXNew()
1803 if (ResultType->isArrayType() || ArraySize) { in BuildCXXNew()
1876 if (ArraySize && !BaseAllocType->isDependentType()) { in BuildCXXNew()
1893 ArraySize, initStyle, Initializer, ResultType, AllocTypeInfo, in BuildCXXNew()