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

References

tools/clang/lib/AST/ExprConstant.cpp
12062   const Expr *SubExpr = E->getSubExpr();
12063   QualType DestType = E->getType();
12066   switch (E->getCastKind()) {
12113     return Error(E);
12120     return ExprEvaluatorBaseTy::VisitCastExpr(E);
12133     if (BoolResult && E->getCastKind() == CK_BooleanToSignedIntegral)
12135     return Success(IntResult, E);
12146     if (Overflowed && !HandleOverflow(Info, E, Result, DestType))
12148     return Success(Result, E);
12156     return Success(Val.getFixedPoint().getBoolValue(), E);
12175     return Success(HandleIntToIntCast(Info, E, DestType, SrcType,
12176                                       Result.getInt()), E);
12180     CCEDiag(E, diag::note_constexpr_invalid_cast) << 2;
12192         return Error(E);
12205     return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E);
12205     return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E);
12212     return Success(C.getComplexIntReal(), E);
12221     if (!HandleFloatToIntCast(Info, E, SrcType, F, DestType, Value))
12223     return Success(Value, E);