Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp36 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE,
41 void checkPostStmt(const ImplicitCastExpr *CastE, CheckerContext &C) const;
176 void DynamicTypePropagation::checkPostStmt(const ImplicitCastExpr *CastE, in checkPostStmt() argument
179 const MemRegion *ToR = C.getSVal(CastE).getAsRegion(); in checkPostStmt()
183 switch (CastE->getCastKind()) { in checkPostStmt()
188 if (const Type *NewTy = getBetterObjCType(CastE, C)) in checkPostStmt()
247 DynamicTypePropagation::getBetterObjCType(const Expr *CastE, in getBetterObjCType() argument
249 const MemRegion *ToR = C.getSVal(CastE).getAsRegion(); in getBetterObjCType()
254 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp227 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
231 getCheckerManager().runCheckersForPreStmt(dstPreStmt, Pred, CastE, *this); in VisitCast()
233 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
239 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); in VisitCast()
245 QualType T = CastE->getType(); in VisitCast()
248 if (const ExplicitCastExpr *ExCast=dyn_cast_or_null<ExplicitCastExpr>(CastE)) in VisitCast()
259 switch (CastE->getCastKind()) { in VisitCast()
286 state = state->BindExpr(CastE, LCtx, V); in VisitCast()
287 Bldr.generateNode(CastE, Pred, state); in VisitCast()
326 state = state->BindExpr(CastE, LCtx, V); in VisitCast()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h345 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred,