Home
last modified time | relevance | path

Searched refs:castExpr (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3751 SourceLocation afterLParen, QualType castType, Expr *castExpr, in addFixitForObjCARCConversion() argument
3781 Expr *castedE = castExpr; in addFixitForObjCARCConversion()
3827 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
3874 Expr *castExpr, Expr *realCast, in diagnoseObjCARCConversion() argument
3878 (castRange.isValid() ? castRange.getBegin() : castExpr->getExprLoc()); in diagnoseObjCARCConversion()
3884 QualType castExprType = castExpr->getType(); in diagnoseObjCARCConversion()
3925 << castExpr->getSourceRange(); in diagnoseObjCARCConversion()
3928 ARCCastChecker(S.Context, exprACTC, castACTC, true).Visit(castExpr); in diagnoseObjCARCConversion()
3937 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3945 : S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
[all …]
H A DSemaCast.cpp154 ExprResult complete(CastExpr *castExpr) { in complete()
158 castExpr = ImplicitCastExpr::Create( in complete()
160 castExpr, nullptr, castExpr->getValueKind(), in complete()
163 updatePartOfExplicitCastFlags(castExpr); in complete()
164 return castExpr; in complete()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp435 const auto AsPointerFromArrayDecay = castExpr( in findDirectMutation()
540 match(findFirst(stmt(castExpr(hasSourceExpression(canResolveToExpr(Exp)), in findCastMutation()
551 findAll(expr(castExpr(hasSourceExpression(canResolveToExpr(Exp)), in findCastMutation()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h775 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
777 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
779 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp699 const auto *castExpr = dyn_cast<CastExpr>(e); in getSimpleArrayDecayOperand() local
700 if (!castExpr || castExpr->getCastKind() != CK_ArrayToPointerDecay) in getSimpleArrayDecayOperand()
704 const Expr *subExpr = castExpr->getSubExpr(); in getSimpleArrayDecayOperand()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3047 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(), in RewriteObjCProtocolExpr() local
3050 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr()
3053 return castExpr; in RewriteObjCProtocolExpr()
4400 CastExpr *castExpr = in SynthBlockInitExpr() local
4402 InitExprs.push_back(castExpr); in SynthBlockInitExpr()
5808 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local
5814 castExpr); in RewriteObjCIvarRefExpr()
5849 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local
5854 IV->getBase()->getBeginLoc(), IV->getBase()->getEndLoc(), castExpr); in RewriteObjCIvarRefExpr()
H A DRewriteModernObjC.cpp3590 CastExpr *castExpr = NoTypeInfoCStyleCastExpr( in RewriteObjCProtocolExpr() local
3592 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr()
3595 return castExpr; in RewriteObjCProtocolExpr()
5251 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() local
5253 InitExprs.push_back(castExpr); in SynthBlockInitExpr()
7439 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr() local
7451 *Context, castExpr, DRE, BO_Add, in RewriteObjCIvarRefExpr()
7499 castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr()
7505 const_cast<ASTContext &>(*Context), castExpr, UO_Deref, IvarT, in RewriteObjCIvarRefExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp707 while (auto castExpr = dyn_cast<CastExpr>(init->IgnoreParens())) { in tryEmitARCCopyWeakInit() local
708 switch (castExpr->getCastKind()) { in tryEmitARCCopyWeakInit()
719 const Expr *srcExpr = castExpr->getSubExpr(); in tryEmitARCCopyWeakInit()
747 init = castExpr->getSubExpr(); in tryEmitARCCopyWeakInit()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp163 REGISTER_MATCHER(castExpr); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1018 const internal::VariadicDynCastAllOfMatcher<Stmt, CastExpr> castExpr; variable
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h1825 Expr *castExpr, unsigned pathSize, in CXXFunctionalCastExpr() argument
1828 : ExplicitCastExpr(CXXFunctionalCastExprClass, ty, VK, kind, castExpr, in CXXFunctionalCastExpr()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2805 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CastExpr> castExpr;