Searched refs:ImpCast (Results 1 – 4 of 4) sorted by relevance
150 if (const auto *ImpCast = dyn_cast<ImplicitCastExpr>(E)) in needsNullPtrComparison() local151 return ImpCast->getCastKind() == CK_PointerToBoolean || in needsNullPtrComparison()152 ImpCast->getCastKind() == CK_MemberPointerToBoolean; in needsNullPtrComparison()158 if (const auto *ImpCast = dyn_cast<ImplicitCastExpr>(E)) in needsZeroComparison() local159 return ImpCast->getCastKind() == CK_IntegralToBoolean; in needsZeroComparison()165 if (const auto *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in needsStaticCast() local166 if (ImpCast->getCastKind() == CK_UserDefinedConversion && in needsStaticCast()167 ImpCast->getSubExpr()->getType()->isBooleanType()) { in needsStaticCast()169 dyn_cast<CXXMemberCallExpr>(ImpCast->getSubExpr())) { in needsStaticCast()
396 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in ImpCastExprToType() local397 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()398 ImpCast->setType(Ty); in ImpCastExprToType()399 ImpCast->setValueKind(VK); in ImpCastExprToType()
591 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in ImpCastExprToType() local592 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()593 ImpCast->setType(Ty); in ImpCastExprToType()594 ImpCast->setValueKind(VK); in ImpCastExprToType()
702 while (const auto *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in GetTypeBeforeIntegralPromotion() local703 if (ImpCast->getCastKind() != CK_IntegralCast) break; in GetTypeBeforeIntegralPromotion()704 E = ImpCast->getSubExpr(); in GetTypeBeforeIntegralPromotion()