From 509850ebece3ddd230fd7629c5c08be309f2f828 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sat, 7 Nov 2009 22:00:15 +0000 Subject: Change EmitPointerToDataMemberLValue to take a FieldDecl. No intended functionality change. llvm-svn: 86407 --- clang/lib/CodeGen/CodeGenFunction.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 5c592af0222..f2901beca40 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/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); -- cgit v1.2.3