Home
last modified time | relevance | path

Searched refs:CastExpr (Results 1 – 25 of 95) sorted by relevance

1234

/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp87 bool VisitCastExpr(CastExpr *E) { in VisitCastExpr()
121 void transformNonObjCToObjCCast(CastExpr *E) { in transformNonObjCToObjCCast()
194 void castToObjCObject(CastExpr *E, bool retained) { in castToObjCObject()
198 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind) { in rewriteToBridgedCast()
203 void rewriteToBridgedCast(CastExpr *E, ObjCBridgeCastKind Kind, in rewriteToBridgedCast()
274 void rewriteCastForCFRetain(CastExpr *castE, CallExpr *callE) { in rewriteCastForCFRetain()
280 void getBlockMacroRanges(CastExpr *E, SourceRange &Outer, SourceRange &Inner) { in getBlockMacroRanges()
293 void rewriteBlockCopyMacro(CastExpr *E) { in rewriteBlockCopyMacro()
306 void removeBlockReleaseMacro(CastExpr *E) { in removeBlockReleaseMacro()
335 void transformObjCToNonObjCCast(CastExpr *E) { in transformObjCToNonObjCCast()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DEnumCastOutOfRangeChecker.cpp60 class EnumCastOutOfRangeChecker : public Checker<check::PreStmt<CastExpr>> {
65 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
93 void EnumCastOutOfRangeChecker::checkPreStmt(const CastExpr *CE, in checkPreStmt()
H A DPointerArithChecker.cpp46 check::PreStmt<ArraySubscriptExpr>, check::PreStmt<CastExpr>,
47 check::PostStmt<CastExpr>, check::PostStmt<CXXNewExpr>,
66 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
67 void checkPostStmt(const CastExpr *CE, CheckerContext &C) const;
257 void PointerArithChecker::checkPostStmt(const CastExpr *CE, in checkPostStmt()
275 void PointerArithChecker::checkPreStmt(const CastExpr *CE, in checkPreStmt()
H A DCastSizeChecker.cpp26 class CastSizeChecker : public Checker< check::PreStmt<CastExpr> > {
30 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const;
89 void CastSizeChecker::checkPreStmt(const CastExpr *CE,CheckerContext &C) const { in checkPreStmt()
H A DAnalysisOrderChecker.cpp32 check::PreStmt<CastExpr>, check::PostStmt<CastExpr>,
61 void checkPreStmt(const CastExpr *CE, CheckerContext &C) const { in checkPreStmt()
67 void checkPostStmt(const CastExpr *CE, CheckerContext &C) const { in checkPostStmt()
H A DCastToStructChecker.cpp35 bool VisitCastExpr(const CastExpr *CE);
39 bool CastToStructVisitor::VisitCastExpr(const CastExpr *CE) { in VisitCastExpr()
H A DDynamicTypePropagation.cpp55 check::PostStmt<CastExpr>,
64 ExplodedNode *dynamicTypePropagationOnCasts(const CastExpr *CE,
102 void checkPostStmt(const CastExpr *CastE, CheckerContext &C) const;
401 const CastExpr *CE, ProgramStateRef &State, CheckerContext &C) const { in dynamicTypePropagationOnCasts()
611 void DynamicTypePropagation::checkPostStmt(const CastExpr *CE, in checkPostStmt()
H A DOSObjectCStyleCast.cpp55 const auto *CE = Nodes.getNodeAs<CastExpr>(WarnAtNode); in emitDiagnostics()
H A DDeleteWithNonVirtualDtorChecker.cpp117 const auto *CastE = dyn_cast<CastExpr>(S); in VisitNode()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DIgnoreExpr.h75 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreCastsSingleStep()
93 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreLValueCastsSingleStep()
101 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreBaseCastsSingleStep()
H A DExpr.h48 class CastExpr; variable
73 const CastExpr *BasePath;
88 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
3482 class CastExpr : public Expr {
3488 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
3495 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr() function
3508 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize, in CastExpr() function
3522 return const_cast<CastExpr *>(this)->getTrailingFPFeatures(); in getTrailingFPFeatures()
3541 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten()
3627 : public CastExpr,
[all …]
H A DJSONNodeDumper.h168 llvm::json::Array createCastPath(const CastExpr *C);
283 void VisitCastExpr(const CastExpr *CE);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCXXABI.cpp68 const CastExpr *E, in EmitMemberPointerConversion()
74 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion()
280 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
H A DCGCXXABI.h29 class CastExpr; variable
204 const CastExpr *E,
209 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E,
254 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
H A DCGExprAgg.cpp155 void VisitCastExpr(CastExpr *E);
712 if (auto castE = dyn_cast<CastExpr>(op)) { in findPeephole()
719 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr()
1162 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef()
1418 static bool castPreservesZero(const CastExpr *CE) { in castPreservesZero()
1515 while (auto *CE = dyn_cast<CastExpr>(E)) { in isSimpleZero()
1532 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DParentMap.cpp150 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
177 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
H A DExpr.cpp89 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments()
1816 bool CastExpr::CastConsistency() const { in CastConsistency()
1945 const char *CastExpr::getCastKindName(CastKind CK) { in getCastKindName()
1974 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten()
1977 for (const CastExpr *E = this; E; E = dyn_cast<ImplicitCastExpr>(SubExpr)) { in getSubExprAsWritten()
1996 NamedDecl *CastExpr::getConversionFunction() const { in getConversionFunction()
1999 for (const CastExpr *E = this; E; E = dyn_cast<ImplicitCastExpr>(SubExpr)) { in getConversionFunction()
2014 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer()
2027 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(QualType unionType, in getTargetFieldForToUnionCast()
2033 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(const RecordDecl *RD, in getTargetFieldForToUnionCast()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h35 class CastExpr; variable
158 SVal evalDerivedToBase(SVal Derived, const CastExpr *Cast);
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp22 if (auto *cast = dyn_cast<CastExpr>(E)) { in tryToFindPtrOrigin()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h244 check::PostStmt<CastExpr>,
296 void checkPostStmt(const CastExpr *CE, CheckerContext &C) const;
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td78 def CastExpr : StmtNode<Expr, 1>;
84 def ImplicitCastExpr : StmtNode<CastExpr>;
85 def ExplicitCastExpr : StmtNode<CastExpr, 1>;
/openbsd-src/gnu/llvm/libcxxabi/src/demangle/
H A DItaniumNodes.def72 NODE(CastExpr)
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DItaniumNodes.def72 NODE(CastExpr)
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp251 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase()
259 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h48 class CastExpr; variable
435 til::SExpr *translateCastExpr(const CastExpr *CE, CallingContext *Ctx);

1234