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

References

tools/clang/lib/AST/ExprConstant.cpp
10975     if (!EvaluateInteger(E->getArg(0), LHS, Info) ||
10987       bool IsSigned = LHS.isSigned() || RHS.isSigned() ||
10989       bool AllSigned = LHS.isSigned() && RHS.isSigned() &&
10991       uint64_t LHSSize = LHS.getBitWidth();
11003       LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned);
11003       LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned);
11019       Result = LHS.isSigned() ? LHS.sadd_ov(RHS, DidOverflow)
11019       Result = LHS.isSigned() ? LHS.sadd_ov(RHS, DidOverflow)
11020                               : LHS.uadd_ov(RHS, DidOverflow);
11029       Result = LHS.isSigned() ? LHS.ssub_ov(RHS, DidOverflow)
11029       Result = LHS.isSigned() ? LHS.ssub_ov(RHS, DidOverflow)
11030                               : LHS.usub_ov(RHS, DidOverflow);
11039       Result = LHS.isSigned() ? LHS.smul_ov(RHS, DidOverflow)
11039       Result = LHS.isSigned() ? LHS.smul_ov(RHS, DidOverflow)
11040                               : LHS.umul_ov(RHS, DidOverflow);