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

References

tools/clang/lib/AST/ExprConstant.cpp
 8140     return evaluateLValue(E->getArg(0), Result);
 8145     if (!evaluatePointer(E->getArg(0), Result))
 8150     if (!EvaluateInteger(E->getArg(1), Alignment, Info))
 8154     if (E->getNumArgs() > 2) {
 8156       if (!EvaluateInteger(E->getArg(2), Offset, Info))
 8179         CCEDiag(E->getArg(0),
 8192            ? CCEDiag(E->getArg(0),
 8194            : CCEDiag(E->getArg(0),
 8204     return HandleOperatorNewCall(Info, E, Result);
 8206     return evaluatePointer(E->getArg(0), Result);
 8212       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
 8216       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
 8223     if (!Visit(E->getArg(0)))
 8226     if (!EvaluateInteger(E->getArg(1), Desired, Info))
 8234       if (!EvaluateInteger(E->getArg(2), N, Info))
 8240       return ZeroInitialization(E);
 8241     if (!Result.checkNullPointerForFoldAccess(Info, E, AK_Read) ||
 8249                CharTy, E->getArg(0)->getType()->getPointeeType()));
 8252       Info.FFDiag(E, diag::note_constexpr_ltor_incomplete_type) << CharTy;
 8268       if (!APSInt::isSameValue(HandleIntToIntCast(Info, E, CharTy,
 8269                                                   E->getArg(1)->getType(),
 8272         return ZeroInitialization(E);
 8297       if (!handleLValueToRValueConversion(Info, E, CharTy, Result, Char) ||
 8304       if (!HandleLValueArrayAdjustment(Info, E, Result, CharTy, 1))
 8308     return ZeroInitialization(E);
 8316       Info.CCEDiag(E, diag::note_constexpr_invalid_function)
 8320       Info.CCEDiag(E, diag::note_invalid_subexpr_in_const_expr);
 8336     if (!Visit(E->getArg(0)))
 8341     if (!EvaluatePointer(E->getArg(1), Src, Info))
 8345     if (!EvaluateInteger(E->getArg(2), N, Info))
 8360       Info.FFDiag(E, diag::note_constexpr_memcpy_null)
 8362           << Val.getAsString(Info.Ctx, E->getArg(0)->getType());
 8374       Info.FFDiag(E, diag::note_constexpr_memcpy_type_pun) << Move << SrcT << T;
 8378       Info.FFDiag(E, diag::note_constexpr_memcpy_incomplete_type) << Move << T;
 8382       Info.FFDiag(E, diag::note_constexpr_memcpy_nontrivial) << Move << T;
 8393         Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported)
 8406       Info.FFDiag(E, diag::note_constexpr_memcpy_unsupported)
 8422           Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar;
 8426         if (!HandleLValueArrayAdjustment(Info, E, Src, T, NElems - 1) ||
 8427             !HandleLValueArrayAdjustment(Info, E, Dest, T, NElems - 1))
 8433         Info.FFDiag(E, diag::note_constexpr_memcpy_overlap) << WChar;
 8442       if (!handleLValueToRValueConversion(Info, E, T, Src, Val) ||
 8443           !handleAssignment(Info, E, Dest, T, Val))
 8449       if (!HandleLValueArrayAdjustment(Info, E, Src, T, Direction) ||
 8450           !HandleLValueArrayAdjustment(Info, E, Dest, T, Direction))
 8459   return visitNonBuiltinCallExpr(E);