diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-07 22:00:15 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-07 22:00:15 +0000 |
commit | 909fbf70223ea04a5ec8d449789f3683a89701ff (patch) | |
tree | 2ad537ab910af30e8c7287a07cd5a28e39c49a46 /lib/CodeGen/CodeGenFunction.h | |
parent | 36a862f1d6810e05121d5be1b6458bd11b69e495 (diff) |
Change EmitPointerToDataMemberLValue to take a FieldDecl. No intended functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 5c592af022..f2901beca4 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -831,7 +831,8 @@ public: LValue EmitConditionalOperatorLValue(const ConditionalOperator *E); LValue EmitCastLValue(const CastExpr *E); LValue EmitNullInitializationLValue(const CXXZeroInitValueExpr *E); - LValue EmitPointerToDataMemberLValue(const DeclRefExpr *E); + + LValue EmitPointerToDataMemberLValue(const FieldDecl *Field); llvm::Value *EmitIvarOffset(const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); |