/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 87 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()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastSizeChecker.cpp | 26 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 D | AnalysisOrderChecker.cpp | 32 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 D | CastToStructChecker.cpp | 35 bool VisitCastExpr(const CastExpr *CE); 39 bool CastToStructVisitor::VisitCastExpr(const CastExpr *CE) { in VisitCastExpr()
|
H A D | OSObjectCStyleCast.cpp | 55 const auto *CE = Nodes.getNodeAs<CastExpr>(WarnAtNode); in emitDiagnostics()
|
H A D | CXXDeleteChecker.cpp | 191 const auto *CastE = dyn_cast<CastExpr>(S); in VisitNode()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | IgnoreExpr.h | 76 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreCastsSingleStep() 94 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreLValueCastsSingleStep() 102 if (auto *CE = dyn_cast<CastExpr>(E)) in IgnoreBaseCastsSingleStep()
|
H A D | Expr.h | 49 class CastExpr; variable 74 const CastExpr *BasePath; 89 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment() 3498 class CastExpr : public Expr { 3504 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer() 3511 CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind, in CastExpr() function 3524 CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize, in CastExpr() function 3538 return const_cast<CastExpr *>(this)->getTrailingFPFeatures(); in getTrailingFPFeatures() 3557 return const_cast<CastExpr *>(this)->getSubExprAsWritten(); in getSubExprAsWritten() 3673 : public CastExpr, [all …]
|
H A D | JSONNodeDumper.h | 168 llvm::json::Array createCastPath(const CastExpr *C); 295 void VisitCastExpr(const CastExpr *CE);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCXXABI.cpp | 75 const CastExpr *E, in EmitMemberPointerConversion() 81 llvm::Constant *CGCXXABI::EmitMemberPointerConversion(const CastExpr *E, in EmitMemberPointerConversion() 286 llvm::Constant *CGCXXABI::getMemberPointerAdjustment(const CastExpr *E) { in getMemberPointerAdjustment()
|
H A D | CGCXXABI.h | 29 class CastExpr; variable 200 const CastExpr *E, 205 virtual llvm::Constant *EmitMemberPointerConversion(const CastExpr *E, 250 llvm::Constant *getMemberPointerAdjustment(const CastExpr *E);
|
H A D | CGExprAgg.cpp | 159 void VisitCastExpr(CastExpr *E); 728 if (auto castE = dyn_cast<CastExpr>(op)) { in findPeephole() 735 void AggExprEmitter::VisitCastExpr(CastExpr *E) { in VisitCastExpr() 1179 } else if (const CastExpr *cast = dyn_cast<CastExpr>(E)) { in isBlockVarRef() 1423 static bool castPreservesZero(const CastExpr *CE) { in castPreservesZero() 1522 while (auto *CE = dyn_cast<CastExpr>(E)) { in isSimpleZero() 1539 if (const CastExpr *ICE = dyn_cast<CastExpr>(E)) in isSimpleZero()
|
H A D | CGClass.cpp | 174 const CXXRecordDecl *DerivedClass, CastExpr::path_const_iterator Start, in computeNonVirtualBaseClassOffset() 175 CastExpr::path_const_iterator End) { in computeNonVirtualBaseClassOffset() 181 for (CastExpr::path_const_iterator I = Start; I != End; ++I) { in computeNonVirtualBaseClassOffset() 202 CastExpr::path_const_iterator PathBegin, in GetNonVirtualBaseClassOffset() 203 CastExpr::path_const_iterator PathEnd) { in GetNonVirtualBaseClassOffset() 295 CastExpr::path_const_iterator PathBegin, in GetAddressOfBaseClass() 296 CastExpr::path_const_iterator PathEnd, bool NullCheckValue, in GetAddressOfBaseClass() 300 CastExpr::path_const_iterator Start = PathBegin; in GetAddressOfBaseClass() 404 CastExpr::path_const_iterator PathBegin, in GetAddressOfDerivedClass() 405 CastExpr::path_const_iterator PathEnd, in GetAddressOfDerivedClass()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ParentMap.cpp | 152 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts() 180 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
|
H A D | Expr.cpp | 89 if (const auto *CE = dyn_cast<CastExpr>(E)) { in skipRValueSubobjectAdjustments() 1821 bool CastExpr::CastConsistency() const { in CastConsistency() 1952 const char *CastExpr::getCastKindName(CastKind CK) { in getCastKindName() 1981 Expr *CastExpr::getSubExprAsWritten() { in getSubExprAsWritten() 1984 for (const CastExpr *E = this; E; E = dyn_cast<ImplicitCastExpr>(SubExpr)) { in getSubExprAsWritten() 2003 NamedDecl *CastExpr::getConversionFunction() const { in getConversionFunction() 2006 for (const CastExpr *E = this; E; E = dyn_cast<ImplicitCastExpr>(SubExpr)) { in getConversionFunction() 2021 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer() 2034 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(QualType unionType, in getTargetFieldForToUnionCast() 2040 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(const RecordDecl *RD, in getTargetFieldForToUnionCast() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Store.h | 35 class CastExpr; variable 158 SVal evalDerivedToBase(SVal Derived, const CastExpr *Cast);
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | ASTUtils.cpp | 48 if (auto *cast = dyn_cast<CastExpr>(E)) { in tryToFindPtrOrigin()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | StmtNodes.td | 78 def CastExpr : StmtNode<Expr, 1>; 84 def ImplicitCastExpr : StmtNode<CastExpr>; 85 def ExplicitCastExpr : StmtNode<CastExpr, 1>;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | ItaniumNodes.def | 76 NODE(CastExpr)
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 48 class CastExpr; variable 435 til::SExpr *translateCastExpr(const CastExpr *CE, CallingContext *Ctx);
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 253 if (const auto *CE = dyn_cast<CastExpr>(Ex)) { in stripCasts() 307 void VisitCastExpr(CastExpr *CE); 461 void ClassifyRefs::VisitCastExpr(CastExpr *CE) { in VisitCastExpr()
|
H A D | ProgramPoint.cpp | 193 if (const auto *CS = dyn_cast<CastExpr>(S)) in printJson()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCast.cpp | 111 void updatePartOfExplicitCastFlags(CastExpr *CE) { in updatePartOfExplicitCastFlags() 121 ExprResult complete(CastExpr *castExpr) { in complete() 3025 if (CastExpr::getTargetFieldForToUnionCast(RD, SrcType)) { in CheckCStyleCast() 3344 Expr *CastExpr) { in BuildCStyleCastExpr() argument 3345 CastOperation Op(*this, CastTypeInfo->getType(), CastExpr); in BuildCStyleCastExpr() 3347 Op.OpRange = SourceRange(LPLoc, CastExpr->getEndLoc()); in BuildCStyleCastExpr() 3351 isa<InitListExpr>(CastExpr)); in BuildCStyleCastExpr() 3370 Expr *CastExpr, in BuildCXXFunctionalCastExpr() argument 3373 CastOperation Op(*this, Type, CastExpr); in BuildCXXFunctionalCastExpr()
|
H A D | SemaFixItUtils.cpp | 71 isa<CastExpr>(Expr) || in tryToFixConversion()
|
H A D | SemaStmtAsm.cpp | 46 CastExpr *ParentCast = dyn_cast<CastExpr>(Parent); in removeLValueToRValueCast() 52 if (auto *CastE = dyn_cast<CastExpr>(Child)) in removeLValueToRValueCast()
|