Lines Matching refs:DeclRefExpr
135 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
137 SmallVector<DeclRefExpr *, 32> BlockDeclRefs;
391 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD);
392 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
482 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs);
495 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs,
1714 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2099 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl()
2586 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral()
2587 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral()
2674 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCBoxedExpr()
2717 DeclRefExpr *NSArrayDRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr()
2795 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr()
2838 DeclRefExpr *NSDictDRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr()
2946 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr()
3173 DeclRefExpr *DRE = new (Context) in SynthMsgSendStretCallExpr()
3174 DeclRefExpr(*Context, FD, false, castType, VK_RValue, SourceLocation()); in SynthMsgSendStretCallExpr()
3242 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
3274 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
3275 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3338 new (Context) DeclRefExpr(*Context, in SynthMessageExpr()
3369 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
3370 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3513 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr()
3591 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr()
4343 DeclRefExpr *Exp = InnerDeclRefs[count++]; in SynthesizeBlockLiterals()
4471 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs()
4479 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, in GetInnerBlockDeclRefExprs()
4493 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs()
4558 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall()
4667 Stmt *RewriteModernObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
4705 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
5203 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs) { in SynthBlockInitExpr()
5214 DeclRefExpr *Exp = InnerBlockDeclRefs[i]; in SynthBlockInitExpr()
5279 DeclRefExpr *DRE = new (Context) in SynthBlockInitExpr()
5280 DeclRefExpr(*Context, FD, false, FType, VK_RValue, SourceLocation()); in SynthBlockInitExpr()
5286 DeclRefExpr *Arg = new (Context) DeclRefExpr( in SynthBlockInitExpr()
5299 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
5314 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5325 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5331 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5360 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5467 SmallVector<DeclRefExpr *, 8> InnerBlockDeclRefs; in RewriteFunctionBodyOrGlobalInitializer()
5630 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
7487 DeclRefExpr *DRE = new (Context) in RewriteObjCIvarRefExpr()
7488 DeclRefExpr(*Context, NewVD, false, Context->UnsignedLongTy, in RewriteObjCIvarRefExpr()