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

References

tools/clang/lib/Sema/SemaChecking.cpp
10215   if (E->EvaluateAsRValue(result, C, InConstantContext))
10216     return GetValueRange(C, result.Val, GetExprType(E), MaxWidth);
10223       return GetExprRange(C, CE->getSubExpr(), MaxWidth, InConstantContext);
10225     IntRange OutputTypeRange = IntRange::forValueOfType(C, GetExprType(CE));
10234     IntRange SubRange = GetExprRange(C, CE->getSubExpr(),
10251     if (CO->getCond()->EvaluateAsBooleanCondition(CondResult, C))
10252       return GetExprRange(C,
10258         GetExprRange(C, CO->getTrueExpr(), MaxWidth, InConstantContext);
10260         GetExprRange(C, CO->getFalseExpr(), MaxWidth, InConstantContext);
10290       return IntRange::forValueOfType(C, GetExprType(E));
10296       return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext);
10301       return IntRange::forValueOfType(C, GetExprType(E));
10307           GetExprRange(C, BO->getLHS(), MaxWidth, InConstantContext),
10308           GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext));
10317           IntRange R = IntRange::forValueOfType(C, GetExprType(E));
10324       return IntRange::forValueOfType(C, GetExprType(E));
10329       IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth, InConstantContext);
10334       if (BO->getRHS()->isIntegerConstantExpr(shift, C) &&
10348       return GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext);
10353         return IntRange::forValueOfType(C, GetExprType(E));
10360       unsigned opWidth = C.getIntWidth(GetExprType(E));
10361       IntRange L = GetExprRange(C, BO->getLHS(), opWidth, InConstantContext);
10365       if (BO->getRHS()->isIntegerConstantExpr(divisor, C)) {
10375       IntRange R = GetExprRange(C, BO->getRHS(), opWidth, InConstantContext);
10383       unsigned opWidth = C.getIntWidth(GetExprType(E));
10384       IntRange L = GetExprRange(C, BO->getLHS(), opWidth, InConstantContext);
10385       IntRange R = GetExprRange(C, BO->getRHS(), opWidth, InConstantContext);
10402     IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth, InConstantContext);
10403     IntRange R = GetExprRange(C, BO->getRHS(), MaxWidth, InConstantContext);
10416       return IntRange::forValueOfType(C, GetExprType(E));
10419       return GetExprRange(C, UO->getSubExpr(), MaxWidth, InConstantContext);
10424     return GetExprRange(C, OVE->getSourceExpr(), MaxWidth, InConstantContext);
10427     return IntRange(BitField->getBitWidthValue(C),
10430   return IntRange::forValueOfType(C, GetExprType(E));