Lines Matching refs:DeclRefExpr
135 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
137 SmallVector<DeclRefExpr *, 32> BlockDeclRefs;
390 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD);
391 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE);
481 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs);
494 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs,
1718 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); in RewriteObjCForCollectionStmt()
2103 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl()
2590 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral()
2591 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral()
2679 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCBoxedExpr()
2722 DeclRefExpr *NSArrayDRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr()
2800 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr()
2843 DeclRefExpr *NSDictDRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr()
2952 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr()
3179 DeclRefExpr *DRE = new (Context) in SynthMsgSendStretCallExpr()
3180 DeclRefExpr(*Context, FD, false, castType, VK_PRValue, SourceLocation()); in SynthMsgSendStretCallExpr()
3247 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
3275 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
3276 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3339 new (Context) DeclRefExpr(*Context, CurMethodDef->getSelfDecl(), false, in SynthMessageExpr()
3367 DeclRefExpr *DRE = new (Context) in SynthMessageExpr()
3368 DeclRefExpr(*Context, SuperConstructorFunctionDecl, false, superType, in SynthMessageExpr()
3511 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr()
3589 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr()
4338 DeclRefExpr *Exp = InnerDeclRefs[count++]; in SynthesizeBlockLiterals()
4466 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs()
4474 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, in GetInnerBlockDeclRefExprs()
4488 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs()
4553 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall()
4660 Stmt *RewriteModernObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
4696 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
5194 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs) { in SynthBlockInitExpr()
5205 DeclRefExpr *Exp = InnerBlockDeclRefs[i]; in SynthBlockInitExpr()
5270 DeclRefExpr *DRE = new (Context) in SynthBlockInitExpr()
5271 DeclRefExpr(*Context, FD, false, FType, VK_PRValue, SourceLocation()); in SynthBlockInitExpr()
5277 DeclRefExpr *Arg = new (Context) DeclRefExpr( in SynthBlockInitExpr()
5291 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
5306 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5318 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5324 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5354 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5461 SmallVector<DeclRefExpr *, 8> InnerBlockDeclRefs; in RewriteFunctionBodyOrGlobalInitializer()
5624 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
7481 DeclRefExpr *DRE = new (Context) in RewriteObjCIvarRefExpr()
7482 DeclRefExpr(*Context, NewVD, false, Context->UnsignedLongTy, in RewriteObjCIvarRefExpr()