Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprObjC.cpp2769 Expr *castExpr, in addFixitForObjCARCConversion() argument
2783 Expr *castedE = castExpr; in addFixitForObjCARCConversion()
2819 Expr *castedE = castExpr->IgnoreImpCasts(); in addFixitForObjCARCConversion()
2838 Expr *castExpr, ARCConversionTypeClass exprACTC, in diagnoseObjCARCConversion() argument
2841 (castRange.isValid() ? castRange.getBegin() : castExpr->getExprLoc()); in diagnoseObjCARCConversion()
2847 QualType castExprType = castExpr->getType(); in diagnoseObjCARCConversion()
2878 << castExpr->getSourceRange(); in diagnoseObjCARCConversion()
2881 ARCCastChecker(S.Context, exprACTC, castACTC, true).Visit(castExpr); in diagnoseObjCARCConversion()
2887 castType, castExpr, "__bridge ", 0); in diagnoseObjCARCConversion()
2891 DiagnosticBuilder DiagB = S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp85 ExprResult complete(CastExpr *castExpr) { in complete()
89 castExpr = ImplicitCastExpr::Create(Self.Context, in complete()
91 CK_Dependent, castExpr, 0, in complete()
92 castExpr->getValueKind()); in complete()
94 return Self.Owned(castExpr); in complete()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp74 Expr *castExpr = E->getSubExpr(); in VisitCastExpr() local
75 QualType castExprType = castExpr->getType(); in VisitCastExpr()
88 if (castExpr->isNullPointerConstant(Pass.Ctx, in VisitCastExpr()
92 SourceLocation loc = castExpr->getExprLoc(); in VisitCastExpr()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp2165 expr(castExpr()))); in TEST()
2166 EXPECT_TRUE(matches("void *p = (void *)(&p);", expr(castExpr()))); in TEST()
2168 expr(castExpr()))); in TEST()
2169 EXPECT_TRUE(matches("char c = char(0);", expr(castExpr()))); in TEST()
2173 EXPECT_TRUE(matches("char c = 0;", expr(castExpr()))); in TEST()
2175 EXPECT_TRUE(matches("char c = 0, d = c;", expr(castExpr()))); in TEST()
2179 EXPECT_TRUE(notMatches("char c = '0';", expr(castExpr()))); in TEST()
2180 EXPECT_TRUE(notMatches("char c, &q = c;", expr(castExpr()))); in TEST()
2181 EXPECT_TRUE(notMatches("int i = (0);", expr(castExpr()))); in TEST()
2182 EXPECT_TRUE(notMatches("int i = 0;", expr(castExpr()))); in TEST()
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3134 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(), in RewriteObjCProtocolExpr() local
3137 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr()
3140 return castExpr; in RewriteObjCProtocolExpr()
4538 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() local
4540 InitExprs.push_back(castExpr); in SynthBlockInitExpr()
5972 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local
5978 castExpr); in RewriteObjCIvarRefExpr()
6013 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, castT, in RewriteObjCIvarRefExpr() local
6018 IV->getBase()->getLocEnd(), castExpr); in RewriteObjCIvarRefExpr()
DRewriteModernObjC.cpp3633 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(), in RewriteObjCProtocolExpr() local
3636 ReplaceStmt(Exp, castExpr); in RewriteObjCProtocolExpr()
3639 return castExpr; in RewriteObjCProtocolExpr()
5238 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() local
5240 InitExprs.push_back(castExpr); in SynthBlockInitExpr()
7463 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr() local
7474 new (Context) BinaryOperator(castExpr, DRE, BO_Add, in RewriteObjCIvarRefExpr()
7522 castExpr = NoTypeInfoCStyleCastExpr(Context, in RewriteObjCIvarRefExpr()
7528 Expr *Exp = new (Context) UnaryOperator(castExpr, UO_Deref, IvarT, in RewriteObjCIvarRefExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h912 const internal::VariadicDynCastAllOfMatcher<Expr, CastExpr> castExpr; variable
/external/clang/include/clang/AST/
DExprCXX.h1037 Expr *castExpr, unsigned pathSize, in CXXFunctionalCastExpr() argument
1040 castExpr, pathSize, writtenTy), in CXXFunctionalCastExpr()