• Home
  • Raw
  • Download

Lines Matching refs:DRE

391     Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
2096 DeclRefExpr *DRE = in SynthesizeCallToFunctionDecl() local
2103 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl()
2584 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() local
2586 Expr *Unop = new (Context) UnaryOperator(DRE, UO_AddrOf, in RewriteObjCStringLiteral()
2587 Context->getPointerType(DRE->getType()), in RewriteObjCStringLiteral()
2673 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCBoxedExpr() local
2678 CK_BitCast, DRE); in RewriteObjCBoxedExpr()
2796 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCArrayLiteralExpr() local
2801 CK_BitCast, DRE); in RewriteObjCArrayLiteralExpr()
2950 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCDictionaryLiteralExpr() local
2955 CK_BitCast, DRE); in RewriteObjCDictionaryLiteralExpr()
3179 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr() local
3181 CallExpr *STCE = new (Context) CallExpr(*Context, DRE, MsgExprs, in SynthMsgSendStretCallExpr()
3279 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local
3282 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3374 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local
3377 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3518 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in SynthMessageExpr() local
3527 CK_BitCast, DRE); in SynthMessageExpr()
3596 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(), in RewriteObjCProtocolExpr() local
3600 Context, Context->getPointerType(DRE->getType()), CK_BitCast, DRE); in RewriteObjCProtocolExpr()
4476 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local
4477 if (DRE->refersToEnclosingVariableOrCapture() || in GetBlockDeclRefExprs()
4478 HasLocalVariableExternalStorage(DRE->getDecl())) in GetBlockDeclRefExprs()
4480 BlockDeclRefs.push_back(DRE); in GetBlockDeclRefExprs()
4498 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local
4499 if (DRE->refersToEnclosingVariableOrCapture() || in GetInnerBlockDeclRefExprs()
4500 HasLocalVariableExternalStorage(DRE->getDecl())) { in GetInnerBlockDeclRefExprs()
4501 if (!InnerContexts.count(DRE->getDecl()->getDeclContext())) in GetInnerBlockDeclRefExprs()
4502 InnerBlockDeclRefs.push_back(DRE); in GetInnerBlockDeclRefExprs()
4503 if (VarDecl *Var = cast<VarDecl>(DRE->getDecl())) in GetInnerBlockDeclRefExprs()
4563 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local
4564 CPT = DRE->getType()->getAs<BlockPointerType>(); in SynthesizeBlockCall()
4711 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage() argument
4712 ValueDecl *VD = DRE->getDecl(); in RewriteLocalVariableExternalStorage()
4715 return DRE; in RewriteLocalVariableExternalStorage()
4716 Expr *Exp = new (Context) UnaryOperator(DRE, UO_Deref, DRE->getType(), in RewriteLocalVariableExternalStorage()
4718 DRE->getLocation()); in RewriteLocalVariableExternalStorage()
4722 ReplaceStmt(DRE, PE); in RewriteLocalVariableExternalStorage()
5285 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, FType, VK_RValue, in SynthBlockInitExpr() local
5402 NewRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthBlockInitExpr()
5409 NewRep = DRE; in SynthBlockInitExpr()
5639 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer() local
5640 ValueDecl *VD = DRE->getDecl(); in RewriteFunctionBodyOrGlobalInitializer()
5642 return RewriteBlockDeclRefExpr(DRE); in RewriteFunctionBodyOrGlobalInitializer()
5644 return RewriteLocalVariableExternalStorage(DRE); in RewriteFunctionBodyOrGlobalInitializer()
7495 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, in RewriteObjCIvarRefExpr() local
7499 new (Context) BinaryOperator(castExpr, DRE, BO_Add, in RewriteObjCIvarRefExpr()