Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp220 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
224 getCheckerManager().runCheckersForPreStmt(dstPreStmt, Pred, CastE, *this); in VisitCast()
226 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
232 evalLoad(Dst, CastE, CastE, subExprNode, state, state->getSVal(Ex, LCtx)); in VisitCast()
238 QualType T = CastE->getType(); in VisitCast()
241 if (const ExplicitCastExpr *ExCast=dyn_cast_or_null<ExplicitCastExpr>(CastE)) in VisitCast()
252 switch (CastE->getCastKind()) { in VisitCast()
279 state = state->BindExpr(CastE, LCtx, V); in VisitCast()
280 Bldr.generateNode(CastE, Pred, state); in VisitCast()
318 state = state->BindExpr(CastE, LCtx, V); in VisitCast()
[all …]
/freebsd-9-stable/contrib/llvm/tools/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()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h343 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred,