Lines Matching defs:cast
751 !cast<ObjCInterfaceDecl>(*DI)->isThisDeclarationADefinition() &&
776 !cast<ObjCProtocolDecl>(*DI)->isThisDeclarationADefinition() &&
959 // Synthesize an explicit cast to gain access to the ivar.
1018 // Synthesize an explicit cast to initialize the ivar.
1071 ObjCInterfaceDecl *ForwardDecl = cast<ObjCInterfaceDecl>(*I);
1083 RewriteForwardClassEpilogue(cast<ObjCInterfaceDecl>(*I), typedefString);
1090 ObjCInterfaceDecl *ForwardDecl = cast<ObjCInterfaceDecl>(D[i]);
1098 RewriteForwardClassEpilogue(cast<ObjCInterfaceDecl>(D[0]), typedefString);
1455 cast<ObjCMessageExpr>(PseudoOp->getSemanticExpr(
1469 Base = cast<OpaqueValueExpr>(Base)->getSourceExpr();
1470 Base = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(Base));
1477 Arg = cast<OpaqueValueExpr>(Arg)->getSourceExpr();
1478 Arg = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(Arg));
1543 cast<ObjCMessageExpr>(PseudoOp->getResultExpr()->IgnoreImplicit());
1554 Base = cast<OpaqueValueExpr>(Base)->getSourceExpr();
1555 Base = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(Base));
1561 Arg = cast<OpaqueValueExpr>(Arg)->getSourceExpr();
1562 Arg = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(Arg));
1738 NamedDecl* D = cast<NamedDecl>(DS->getSingleDecl());
1739 QualType ElementType = cast<ValueDecl>(D)->getType();
1753 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement());
1755 ValueDecl *VD = cast<ValueDecl>(DR->getDecl());
2147 // Now, we cast the reference to a pointer to the objc_msgSend type.
2327 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr);
2638 // cast to NSConstantString *
2639 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context, Exp->getType(),
2641 ReplaceStmt(Exp, cast);
2643 return cast;
2653 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context, Context->ObjCBuiltinBoolTy,
2656 cast);
2734 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context,
2738 // Now do the "normal" pointer to function cast.
2742 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast,
2743 cast);
2746 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
2871 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context,
2875 // Now do the "normal" pointer to function cast.
2879 cast
2880 cast);
2883 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
3044 CastExpr *cast = NoTypeInfoCStyleCastExpr(Context,
3048 // Now do the "normal" pointer to function cast.
3052 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast,
3053 cast);
3056 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
3191 // Now do the "normal" pointer to function cast.
3350 // To turn off a warning, type-cast to 'id'
3371 // we need the cast below. For example:
3458 // To turn off a warning, type-cast to 'id'
3478 // we need the cast below. For example:
3564 // Make id<P...> cast into an 'id' cast.
3589 // Generate the funky cast.
3590 CastExpr *cast;
3624 // Need to cast objc_msgSend to "void *" (to workaround a GCC bandaid).
3625 // If we don't do this cast, we get the following bizarre warning/note:
3628 cast = NoTypeInfoCStyleCastExpr(Context,
3632 // Now do the "normal" pointer to function cast.
3633 // If we don't have a method decl, force a variadic cast.
3638 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast,
3639 cast);
3642 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast);
4240 const FunctionProtoType *FT = cast<FunctionProtoType>(AFT);
4671 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl()));
4725 // Generate a funky cast.
4770 SourceLocation(), cast<Expr>(LHSStmt),
4771 SourceLocation(), cast<Expr>(RHSStmt),
4793 // Generate a funky cast.
4808 // Now do the pointer to function cast.
4933 const TypeOfExprType *TypeOfExprTypePtr = cast<TypeOfExprType>(TypePtr);
5470 // Get a pointer to the function type so we can cast appropriately.
5661 S = cast<OpaqueValueExpr>(S)->getSourceExpr();
5783 // and cast exprs.
5872 printf("CAST = %s\n", &Str[0]);
5899 FunctionDecl *FD = cast<FunctionDecl>(D);
5932 ObjCMethodDecl *MD = cast<ObjCMethodDecl>(D);
5951 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D);
5956 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D);
5961 VarDecl *VD = cast<VarDecl>(D);
6010 RecordDecl *RD = cast<RecordDecl>(D);
6259 // NOTE! Windows uses LLP64 for 64bit mode. So, cast pointer to long long
7737 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
7764 // cast offset to "char *".