diff options
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r-- | CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h index c741071d00..e885752933 100644 --- a/CodeGen/CodeGenFunction.h +++ b/CodeGen/CodeGenFunction.h @@ -71,6 +71,7 @@ namespace clang { class BlockVarDecl; class EnumConstantDecl; class ParmVarDecl; + class FieldDecl; namespace CodeGen { class CodeGenModule; class CodeGenTypes; @@ -415,6 +416,9 @@ public: LValue EmitArraySubscriptExpr(const ArraySubscriptExpr *E); LValue EmitOCUVectorElementExpr(const OCUVectorElementExpr *E); LValue EmitMemberExpr(const MemberExpr *E); + + LValue EmitLValueForField(llvm::Value* Base, FieldDecl* Field, + bool isUnion); //===--------------------------------------------------------------------===// // Scalar Expression Emission |