Lines Matching refs:DeclRefExpr
134 SmallVector<DeclRefExpr *, 32> InnerDeclRefs;
136 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()
4340 DeclRefExpr *Exp = InnerDeclRefs[count++]; in SynthesizeBlockLiterals()
4468 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs()
4476 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, in GetInnerBlockDeclRefExprs()
4490 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs()
4555 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall()
4662 Stmt *RewriteModernObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
4698 Stmt *RewriteModernObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
5196 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs) { in SynthBlockInitExpr()
5207 DeclRefExpr *Exp = InnerBlockDeclRefs[i]; in SynthBlockInitExpr()
5272 DeclRefExpr *DRE = new (Context) in SynthBlockInitExpr()
5273 DeclRefExpr(*Context, FD, false, FType, VK_PRValue, SourceLocation()); in SynthBlockInitExpr()
5279 DeclRefExpr *Arg = new (Context) DeclRefExpr( in SynthBlockInitExpr()
5293 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
5308 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5320 Arg = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5326 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5356 Exp = new (Context) DeclRefExpr(*Context, FD, false, FD->getType(), in SynthBlockInitExpr()
5464 SmallVector<DeclRefExpr *, 8> InnerBlockDeclRefs; in RewriteFunctionBodyOrGlobalInitializer()
5627 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
7484 DeclRefExpr *DRE = new (Context) in RewriteObjCIvarRefExpr()
7485 DeclRefExpr(*Context, NewVD, false, Context->UnsignedLongTy, in RewriteObjCIvarRefExpr()