diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-18 18:28:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-18 18:28:57 +0000 |
commit | 75dfedaf702822c9e51a4f3c5d3ecf2d2ad99272 (patch) | |
tree | 60d2415ff88388fdfb1f6fe5a50d991d058d7447 /lib/CodeGen/CodeGenFunction.h | |
parent | af2e4baa2a75471e820030701225a1ca02c7308f (diff) |
add codegen support for casting an element to a union.
There are some more complex cases (_Complex and structs)
that I'm still working on.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 7443e44916..8b578a6f39 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -605,6 +605,7 @@ public: LValue EmitExtVectorElementExpr(const ExtVectorElementExpr *E); LValue EmitMemberExpr(const MemberExpr *E); LValue EmitCompoundLiteralLValue(const CompoundLiteralExpr *E); + LValue EmitCastLValue(const CastExpr *E); llvm::Value *EmitIvarOffset(ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); |