Searched refs:IntLit (Results 1 – 4 of 4) sorted by relevance
38 static double getValue(const IntegerLiteral *IntLit, in getValue() argument40 if (IntLit) in getValue()41 return IntLit->getValue().getLimitedValue(); in getValue()173 const auto *IntLit = llvm::dyn_cast<IntegerLiteral>(MultBinOp->getLHS()); in check() local175 if (IntLit || FloatLit) { in check()176 NewScale = getNewScale(Scale, getValue(IntLit, FloatLit)); in check()183 IntLit = llvm::dyn_cast<IntegerLiteral>(MultBinOp->getRHS()); in check()185 if (IntLit || FloatLit) { in check()186 NewScale = getNewScale(Scale, getValue(IntLit, FloatLit)); in check()
165 const auto *IntLit = in hasSingleVariadicArgumentWithValue() local167 if (!IntLit) in hasSingleVariadicArgumentWithValue()170 if (IntLit->getValue() != I) in hasSingleVariadicArgumentWithValue()
157 if (const auto *IntLit = dyn_cast<IntegerLiteral>(Expression)) { in getEquivalentBoolLiteralForExpr() local158 return (IntLit->getValue() == 0) ? "false" : "true"; in getEquivalentBoolLiteralForExpr()
13484 if (auto *IntLit = dyn_cast<IntegerLiteral>(E->IgnoreParenImpCasts())) { in isSameWidthConstantConversion() local13486 S.getSourceManager().getCharacterData(IntLit->getBeginLoc())[0]; in isSameWidthConstantConversion()