reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExprCXX.cpp
 1827     if (ArraySize)
 1829           Diag(ArraySize ? (*ArraySize)->getExprLoc() : TypeRange.getBegin(),
 1829           Diag(ArraySize ? (*ArraySize)->getExprLoc() : TypeRange.getBegin(),
 1832           << (ArraySize ? (*ArraySize)->getSourceRange() : TypeRange));
 1832           << (ArraySize ? (*ArraySize)->getSourceRange() : TypeRange));
 1875   if (!ArraySize) {
 1878       ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
 1898   if (ArraySize && *ArraySize &&
 1898   if (ArraySize && *ArraySize &&
 1899       (*ArraySize)->getType()->isNonOverloadPlaceholderType()) {
 1900     ExprResult result = CheckPlaceholderExpr(*ArraySize);
 1902     ArraySize = result.get();
 1912   if (ArraySize && *ArraySize && !(*ArraySize)->isTypeDependent()) {
 1912   if (ArraySize && *ArraySize && !(*ArraySize)->isTypeDependent()) {
 1912   if (ArraySize && *ArraySize && !(*ArraySize)->isTypeDependent()) {
 1917       ConvertedSize = PerformImplicitConversion(*ArraySize, Context.getSizeType(),
 1921           (*ArraySize)->getType()->getAs<RecordType>())
 1924           << (*ArraySize)->getType() << 0 << "'size_t'";
 1978       } SizeDiagnoser(*ArraySize);
 1980       ConvertedSize = PerformContextualImplicitConversion(StartLoc, *ArraySize,
 1986     ArraySize = ConvertedSize.get();
 1987     QualType SizeType = (*ArraySize)->getType();
 1999     if (!(*ArraySize)->isValueDependent()) {
 2006       if ((*ArraySize)->isIntegerConstantExpr(Value, Context)) {
 2008           return ExprError(Diag((*ArraySize)->getBeginLoc(),
 2010                            << (*ArraySize)->getSourceRange());
 2018                 Diag((*ArraySize)->getBeginLoc(), diag::err_array_too_large)
 2019                 << Value.toString(10) << (*ArraySize)->getSourceRange());
 2025         Diag((*ArraySize)->getBeginLoc(), diag::ext_new_paren_array_nonconst)
 2026             << (*ArraySize)->getSourceRange()
 2051           AllocType, ArraySize.hasValue(), PassAlignment, PlacementArgs,
 2058   if (ArraySize && !AllocType->isDependentType())
 2103   if (ArraySize && !isLegalArrayNewInitializer(initStyle, Initializer)) {
 2122           *ArraySize, ArrayType::Normal, 0);
 2123     else if (ArraySize)
 2150     if (ArraySize && !*ArraySize) {
 2150     if (ArraySize && !*ArraySize) {
 2155         ArraySize = IntegerLiteral::Create(
 2178                             PlacementArgs, TypeIdParens, ArraySize, initStyle,