/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 3348 Expr *castExpr, in addFixitForObjCARCConversion() argument 3379 Expr *castedE = castExpr; in addFixitForObjCARCConversion() 3425 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion() 3469 Expr *castExpr, Expr *realCast, in diagnoseObjCARCConversion() argument 3473 (castRange.isValid() ? castRange.getBegin() : castExpr->getExprLoc()); in diagnoseObjCARCConversion() 3479 QualType castExprType = castExpr->getType(); in diagnoseObjCARCConversion() 3516 << castExpr->getSourceRange(); in diagnoseObjCARCConversion() 3519 ARCCastChecker(S.Context, exprACTC, castACTC, true).Visit(castExpr); in diagnoseObjCARCConversion() 3528 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion() 3536 S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion() [all …]
|
D | SemaCast.cpp | 87 ExprResult complete(CastExpr *castExpr) { in complete() 91 castExpr = ImplicitCastExpr::Create(Self.Context, in complete() 93 CK_Dependent, castExpr, nullptr, in complete() 94 castExpr->getValueKind()); in complete() 96 return castExpr; in complete()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 95 Expr *castExpr = E->getSubExpr(); in VisitCastExpr() local 96 QualType castExprType = castExpr->getType(); in VisitCastExpr() 105 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr() 109 SourceLocation loc = castExpr->getExprLoc(); in VisitCastExpr()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 605 while (auto castExpr = dyn_cast<CastExpr>(init->IgnoreParens())) { in tryEmitARCCopyWeakInit() local 606 switch (castExpr->getCastKind()) { in tryEmitARCCopyWeakInit() 617 const Expr *srcExpr = castExpr->getSubExpr(); in tryEmitARCCopyWeakInit() 646 init = castExpr->getSubExpr(); in tryEmitARCCopyWeakInit()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 3077 EXPECT_TRUE(matches("char *p = reinterpret_cast<char *>(&p);",castExpr())); in TEST() 3078 EXPECT_TRUE(matches("void *p = (void *)(&p);", castExpr())); in TEST() 3079 EXPECT_TRUE(matches("char q, *p = const_cast<char *>(&q);", castExpr())); in TEST() 3080 EXPECT_TRUE(matches("char c = char(0);", castExpr())); in TEST() 3084 EXPECT_TRUE(matches("char c = 0;", castExpr())); in TEST() 3086 EXPECT_TRUE(matches("char c = 0, d = c;", castExpr())); in TEST() 3090 EXPECT_TRUE(notMatches("char c = '0';", castExpr())); in TEST() 3091 EXPECT_TRUE(notMatches("char c, &q = c;", castExpr())); in TEST() 3092 EXPECT_TRUE(notMatches("int i = (0);", castExpr())); in TEST() 3093 EXPECT_TRUE(notMatches("int i = 0;", castExpr())); in TEST()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3055 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(), in RewriteObjCProtocolExpr() local 3058 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr() 3061 return castExpr; in RewriteObjCProtocolExpr() 4441 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() local 4443 InitExprs.push_back(castExpr); in SynthBlockInitExpr() 5856 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local 5862 castExpr); in RewriteObjCIvarRefExpr() 5896 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local 5901 IV->getBase()->getLocEnd(), castExpr); in RewriteObjCIvarRefExpr()
|
D | RewriteModernObjC.cpp | 3631 CastExpr *castExpr = in RewriteObjCProtocolExpr() local 3634 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr() 3637 return castExpr; in RewriteObjCProtocolExpr() 5372 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() local 5374 InitExprs.push_back(castExpr); in SynthBlockInitExpr() 7612 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr() local 7624 new (Context) BinaryOperator(castExpr, DRE, BO_Add, in RewriteObjCIvarRefExpr() 7674 castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr() 7680 Expr *Exp = new (Context) UnaryOperator(castExpr, UO_Deref, IvarT, in RewriteObjCIvarRefExpr()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 115 REGISTER_MATCHER(castExpr); in RegistryMaps()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1322 CastKind kind, Expr *castExpr, unsigned pathSize, in CXXFunctionalCastExpr() argument 1325 castExpr, pathSize, writtenTy), in CXXFunctionalCastExpr()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1695 const internal::VariadicDynCastAllOfMatcher<Stmt, CastExpr> castExpr; variable
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7503 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr); 7505 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr); 7507 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
|