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

References

tools/clang/lib/AST/ExprConstant.cpp
11312   if (E->isAdditiveOp() && LHSVal.isLValue() && RHSVal.isInt()) {
11313     Result = LHSVal;
11320       RHSVal.isLValue() && LHSVal.isInt()) {
11322     addOrSubLValueAsInteger(Result, LHSVal.getInt(), /*IsSub*/false);
11326   if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) {
11328     if (!LHSVal.getLValueOffset().isZero() ||
11331     const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>();
11348   if (!LHSVal.isInt() || !RHSVal.isInt())
11356   if (!handleIntIntBinOp(Info, E, LHSVal.getInt(), E->getOpcode(),