Home | History | Annotate | Download | only in Frontend

Lines Matching refs:DRE

402     Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
2133 DeclRefExpr *DRE =
2140 DRE, nullptr, VK_RValue);
2622 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
2624 Expr *Unop = new (Context) UnaryOperator(DRE, UO_AddrOf,
2625 Context->getPointerType(DRE->getType()),
2714 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
2719 CK_BitCast, DRE);
2843 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
2848 CK_BitCast, DRE);
3007 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
3012 CK_BitCast, DRE);
3238 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue,
3240 CallExpr *STCE = new (Context) CallExpr(*Context, DRE, MsgExprs,
3342 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl,
3345 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs,
3442 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl,
3445 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs,
3588 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType,
3597 CK_BitCast, DRE);
3666 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(),
3670 Context, Context->getPointerType(DRE->getType()), CK_BitCast, DRE);
4584 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) {
4585 if (DRE->refersToEnclosingLocal()) {
4587 if (!isa<FunctionDecl>(DRE->getDecl()))
4588 BlockDeclRefs.push_back(DRE);
4589 if (HasLocalVariableExternalStorage(DRE->getDecl()))
4590 BlockDeclRefs.push_back(DRE);
4615 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) {
4616 if (DRE->refersToEnclosingLocal()) {
4617 if (!isa<FunctionDecl>(DRE->getDecl()) &&
4618 !InnerContexts.count(DRE->getDecl()->getDeclContext()))
4619 InnerBlockDeclRefs.push_back(DRE);
4620 if (VarDecl *Var = dyn_cast<VarDecl>(DRE->getDecl()))
4682 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) {
4683 CPT = DRE->getType()->getAs<BlockPointerType>();
4832 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) {
4833 ValueDecl *VD = DRE->getDecl();
4836 return DRE;
4837 Expr *Exp = new (Context) UnaryOperator(DRE, UO_Deref, DRE->getType(),
4839 DRE->getLocation());
4843 ReplaceStmt(DRE, PE);
5415 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, FType, VK_RValue,
5532 NewRep = new (Context) CallExpr(*Context, DRE, InitExprs,
5539 NewRep = DRE;
5766 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) {
5767 ValueDecl *VD = DRE->getDecl();
5769 return RewriteBlockDeclRefExpr(DRE);
5771 return RewriteLocalVariableExternalStorage(DRE);
7670 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false,
7674 new (Context) BinaryOperator(castExpr, DRE, BO_Add,