Searched refs:DeclRefExp (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3859 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr() argument 3862 ValueDecl *VD = DeclRefExp->getDecl(); in RewriteBlockDeclRefExpr() 3863 bool isArrow = DeclRefExp->refersToEnclosingVariableOrCapture() || in RewriteBlockDeclRefExpr() 3864 HasLocalVariableExternalStorage(DeclRefExp->getDecl()); in RewriteBlockDeclRefExpr() 3873 MemberExpr(DeclRefExp, isArrow, SourceLocation(), FD, SourceLocation(), in RewriteBlockDeclRefExpr() 3884 DeclRefExp->getType(), VK_LValue, OK_Ordinary); in RewriteBlockDeclRefExpr() 3887 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr() 3888 DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr() 3890 ReplaceStmt(DeclRefExp, PE); in RewriteBlockDeclRefExpr()
|
D | RewriteModernObjC.cpp | 4764 Stmt *RewriteModernObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr() argument 4767 ValueDecl *VD = DeclRefExp->getDecl(); in RewriteBlockDeclRefExpr() 4768 bool isArrow = DeclRefExp->refersToEnclosingVariableOrCapture() || in RewriteBlockDeclRefExpr() 4769 HasLocalVariableExternalStorage(DeclRefExp->getDecl()); in RewriteBlockDeclRefExpr() 4778 MemberExpr(DeclRefExp, isArrow, SourceLocation(), FD, SourceLocation(), in RewriteBlockDeclRefExpr() 4789 DeclRefExp->getType(), VK_LValue, OK_Ordinary); in RewriteBlockDeclRefExpr() 4792 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr() 4793 DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr() 4795 ReplaceStmt(DeclRefExp, PE); in RewriteBlockDeclRefExpr()
|