Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp260 QualType T, QualType ExTy, const CastExpr* CastE, StmtNodeBuilder& Bldr, in handleLValueBitCast() argument
263 assert(!CastE->getType()->isLValueReferenceType()); in handleLValueBitCast()
266 assert(!CastE->getType()->isRValueReferenceType()); in handleLValueBitCast()
274 if (CastE->getCastKind() == CK_BooleanToSignedIntegral && V.isValid()) in handleLValueBitCast()
277 state = state->BindExpr(CastE, LCtx, V); in handleLValueBitCast()
281 Bldr.generateNode(CastE, Pred, state); in handleLValueBitCast()
286 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
290 getCheckerManager().runCheckersForPreStmt(DstPreStmt, Pred, CastE, *this); in VisitCast()
292 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
296 evalLoad(Dst, CastE, CastE, Node, State, State->getSVal(Ex, LCtx)); in VisitCast()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp187 const auto *CastE = dyn_cast<CastExpr>(S); in VisitNode() local
188 if (!CastE) in VisitNode()
192 QualType SourceType = CastE->getSubExpr()->getType()->getPointeeType(); in VisitNode()
193 QualType TargetType = CastE->getType()->getPointeeType(); in VisitNode()
199 const MemRegion *M = N->getSVal(CastE).getAsRegion(); in VisitNode()
H A DDynamicTypePropagation.cpp66 const ObjCObjectPointerType *getBetterObjCType(const Expr *CastE,
100 void checkPostStmt(const CastExpr *CastE, CheckerContext &C) const;
430 DynamicTypePropagation::getBetterObjCType(const Expr *CastE, in getBetterObjCType() argument
432 const MemRegion *ToR = C.getSVal(CastE).getAsRegion(); in getBetterObjCType()
437 CastE->getType()->getAs<ObjCObjectPointerType>(); in getBetterObjCType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp51 if (auto *CastE = dyn_cast<CastExpr>(Child)) in removeLValueToRValueCast() local
52 if (CastE->getCastKind() == CK_LValueToRValue) { in removeLValueToRValueCast()
53 ExprUnderCast = CastE->getSubExpr(); in removeLValueToRValueCast()
H A DSemaType.cpp9129 if (const auto CastE = dyn_cast<ExplicitCastExpr>(E)) { in completeExprArrayBound() local
9130 QualType DestType = CastE->getTypeAsWritten(); in completeExprArrayBound()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h483 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred,
606 QualType ExTy, const CastExpr *CastE,