Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp256 QualType T, QualType ExTy, const CastExpr* CastE, StmtNodeBuilder& Bldr, in handleLValueBitCast() argument
259 assert(!CastE->getType()->isLValueReferenceType()); in handleLValueBitCast()
262 assert(!CastE->getType()->isRValueReferenceType()); in handleLValueBitCast()
270 if (CastE->getCastKind() == CK_BooleanToSignedIntegral && V.isValid()) in handleLValueBitCast()
273 state = state->BindExpr(CastE, LCtx, V); in handleLValueBitCast()
277 Bldr.generateNode(CastE, Pred, state); in handleLValueBitCast()
282 void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, in VisitCast() argument
286 getCheckerManager().runCheckersForPreStmt(dstPreStmt, Pred, CastE, *this); in VisitCast()
288 if (CastE->getCastKind() == CK_LValueToRValue || in VisitCast()
289 CastE->getCastKind() == CK_LValueToRValueBitCast) { in VisitCast()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp191 const auto *CastE = dyn_cast<CastExpr>(S); in VisitNode() local
192 if (!CastE) in VisitNode()
196 QualType SourceType = CastE->getSubExpr()->getType()->getPointeeType(); in VisitNode()
197 QualType TargetType = CastE->getType()->getPointeeType(); in VisitNode()
203 const MemRegion *M = N->getSVal(CastE).getAsRegion(); in VisitNode()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp52 if (auto *CastE = dyn_cast<CastExpr>(Child)) in removeLValueToRValueCast() local
53 if (CastE->getCastKind() == CK_LValueToRValue) { in removeLValueToRValueCast()
54 ExprUnderCast = CastE->getSubExpr(); in removeLValueToRValueCast()
H A DSemaType.cpp8844 if (const auto CastE = dyn_cast<ExplicitCastExpr>(E)) { in completeExprArrayBound() local
8845 QualType DestType = CastE->getTypeAsWritten(); in completeExprArrayBound()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h475 void VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNode *Pred,
593 QualType ExTy, const CastExpr *CastE,