Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp146 unsigned RepresentsUntilExp; in isLossOfPrecision() local
150 RepresentsUntilExp = llvm::APFloat::semanticsPrecision(Sema); in isLossOfPrecision()
152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
153 if (RepresentsUntilExp == 1) { in isLossOfPrecision()
158 RepresentsUntilExp--; in isLossOfPrecision()
161 if (RepresentsUntilExp >= sizeof(unsigned long long) * CHAR_BIT) { in isLossOfPrecision()
170 if (RepresentsUntilExp >= CorrectedSrcWidth) { in isLossOfPrecision()
175 unsigned long long MaxVal = 1ULL << RepresentsUntilExp; in isLossOfPrecision()