Home
last modified time | relevance | path

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

/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp153 unsigned RepresentsUntilExp; in isLossOfPrecision() local
157 RepresentsUntilExp = llvm::APFloat::semanticsPrecision(Sema); in isLossOfPrecision()
159 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
160 if (RepresentsUntilExp == 1) { in isLossOfPrecision()
165 RepresentsUntilExp--; in isLossOfPrecision()
168 if (RepresentsUntilExp >= sizeof(unsigned long long) * CHAR_BIT) { in isLossOfPrecision()
177 if (RepresentsUntilExp >= CorrectedSrcWidth) { in isLossOfPrecision()
182 unsigned long long MaxVal = 1ULL << RepresentsUntilExp; in isLossOfPrecision()