Home
last modified time | relevance | path

Searched refs:PromotedMax (Results 1 – 1 of 1) sorted by relevance

/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp9811 llvm::APSInt PromotedMax; member
9815 PromotedMin = PromotedMax = llvm::APSInt(BitWidth, Unsigned); in PromotedRange()
9821 PromotedMax = llvm::APSInt::getMaxValue(BitWidth, Unsigned); in PromotedRange()
9827 PromotedMax = llvm::APSInt::getMaxValue(R.Width, R.NonNegative) in PromotedRange()
9829 PromotedMax.setIsUnsigned(Unsigned); in PromotedRange()
9834 bool isContiguous() const { return PromotedMin <= PromotedMax; } in isContiguous()
9864 if (Value <= PromotedMax) return InRange; in compare()
9870 case 0: return PromotedMin == PromotedMax ? OnlyValue : Min; in compare()
9872 switch (llvm::APSInt::compareValues(Value, PromotedMax)) { in compare()