reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5961 if (Info.checkingPotentialConstantExpression() || 5962 Info.SpeculativeEvaluationDepth) 5966 auto Caller = Info.getStdAllocatorCaller("allocate"); 5968 Info.FFDiag(E->getExprLoc(), Info.getLangOpts().CPlusPlus2a 5968 Info.FFDiag(E->getExprLoc(), Info.getLangOpts().CPlusPlus2a 5976 Info.FFDiag(E->getExprLoc(), 5983 if (!EvaluateInteger(E->getArg(0), ByteSize, Info)) 5987 EvaluateIgnoredValue(Info, E->getArg(I)); 5992 if (!HandleSizeof(Info, E->getExprLoc(), ElemType, ElemSize)) 5999 Info.FFDiag(E->getExprLoc(), diag::note_constexpr_operator_new_bad_size) 6004 if (ByteSize.getActiveBits() > ConstantArrayType::getMaxSizeBits(Info.Ctx)) { 6006 Result.setNull(Info.Ctx, E->getType()); 6010 Info.FFDiag(E, diag::note_constexpr_new_too_large) << APSInt(Size, true); 6014 QualType AllocType = Info.Ctx.getConstantArrayType(ElemType, Size, nullptr, 6016 APValue *Val = Info.createHeapAlloc(E, AllocType, Result); 6018 Result.addArray(Info, E, cast<ConstantArrayType>(AllocType));