Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp12844 llvm::APSInt PromotedMax; member
12848 PromotedMin = PromotedMax = llvm::APSInt(BitWidth, Unsigned); in PromotedRange()
12854 PromotedMax = llvm::APSInt::getMaxValue(BitWidth, Unsigned); in PromotedRange()
12860 PromotedMax = llvm::APSInt::getMaxValue(R.Width, R.NonNegative) in PromotedRange()
12862 PromotedMax.setIsUnsigned(Unsigned); in PromotedRange()
12867 bool isContiguous() const { return PromotedMin <= PromotedMax; } in isContiguous()
12897 if (Value <= PromotedMax) return InRange; in compare()
12903 case 0: return PromotedMin == PromotedMax ? OnlyValue : Min; in compare()
12905 switch (llvm::APSInt::compareValues(Value, PromotedMax)) { in compare()