Lines Matching refs:Int
7237 static bool checkPointerIntegerMismatch(Sema &S, ExprResult &Int,
7241 !Int.get()->getType()->isIntegerType())
7244 Expr *Expr1 = IsIntFirstExpr ? Int.get() : PointerExpr;
7245 Expr *Expr2 = IsIntFirstExpr ? PointerExpr : Int.get();
7250 Int = S.ImpCastExprToType(Int.get(), PointerExpr->getType(),
8965 /// Test if a (constant) integer Int can be casted to another integer type
8967 static bool canConvertIntToOtherIntTy(Sema &S, ExprResult *Int,
8969 QualType IntTy = Int->get()->getType().getUnqualifiedType();
8971 // Reject cases where the value of the Int is unknown as that would
8975 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context);
9003 /// Test if a (constant) integer Int can be casted to floating point type
9005 static bool canConvertIntTyToFloatTy(Sema &S, ExprResult *Int,
9007 QualType IntTy = Int->get()->getType().getUnqualifiedType();
9012 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context);