Searched refs:IntRange (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2396 struct IntRange { struct 2403 IntRange(unsigned Width, bool NonNegative) in IntRange() function 2408 static IntRange forBoolType() { in forBoolType() argument 2409 return IntRange(1, true); in forBoolType() 2413 static IntRange forValueOfType(ASTContext &C, QualType T) { in forValueOfType() argument 2419 static IntRange forValueOfCanonicalType(ASTContext &C, const Type *T) { in forValueOfCanonicalType() argument 2431 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 2436 return IntRange(std::max(NumPositive, NumNegative), NumNegative == 0); in forValueOfCanonicalType() 2442 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 2450 static IntRange forTargetOfCanonicalType(ASTContext &C, const Type *T) { in forTargetOfCanonicalType() argument [all …]
|