Home | History | Annotate | Download | only in Rewrite

Lines Matching defs:DRE

393     Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
2123 DeclRefExpr *DRE =
2130 DRE, nullptr, VK_RValue);
2611 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
2613 Expr *Unop = new (Context) UnaryOperator(DRE, UO_AddrOf,
2614 Context->getPointerType(DRE->getType()),
2700 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
2705 CK_BitCast, DRE);
2824 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
2829 CK_BitCast, DRE);
2981 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
2986 CK_BitCast, DRE);
3212 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue,
3214 CallExpr *STCE = new (Context) CallExpr(*Context, DRE, MsgExprs,
3312 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl,
3315 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs,
3407 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl,
3410 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs,
3551 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
3560 CK_BitCast, DRE);
3629 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(),
3633 Context, Context->getPointerType(DRE->getType()), CK_BitCast, DRE);
4541 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S))
4542 if (DRE->refersToEnclosingVariableOrCapture() ||
4543 HasLocalVariableExternalStorage(DRE->getDecl()))
4545 BlockDeclRefs.push_back(DRE);
4565 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) {
4566 if (DRE->refersToEnclosingVariableOrCapture() ||
4567 HasLocalVariableExternalStorage(DRE->getDecl())) {
4568 if (!InnerContexts.count(DRE->getDecl()->getDeclContext()))
4569 InnerBlockDeclRefs.push_back(DRE);
4570 if (VarDecl *Var = cast<VarDecl>(DRE->getDecl()))
4632 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) {
4633 CPT = DRE->getType()->getAs<BlockPointerType>();
4780 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) {
4781 ValueDecl *VD = DRE->getDecl();
4784 return DRE;
4785 Expr *Exp = new (Context) UnaryOperator(DRE, UO_Deref, DRE->getType(),
4787 DRE->getLocation());
4791 ReplaceStmt(DRE, PE);
5363 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, FType, VK_RValue,
5480 NewRep = new (Context) CallExpr(*Context, DRE, InitExprs,
5487 NewRep = DRE;
5717 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) {
5718 ValueDecl *VD = DRE->getDecl();
5720 return RewriteBlockDeclRefExpr(DRE);
5722 return RewriteLocalVariableExternalStorage(DRE);
7620 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false,
7624 new (Context) BinaryOperator(castExpr, DRE, BO_Add,