diff options
author | Anders Carlsson <andersca@mac.com> | 2010-01-29 05:05:36 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-01-29 05:05:36 +0000 |
commit | 5d8645b150a6c1421b82ad93ab7e316e454a2708 (patch) | |
tree | d29603c791dd18adebaee595abbc8a317f6603b1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 0fcbe369aa9a1a4dfc06af31383607dc2075da43 (diff) | |
download | bcm5719-llvm-5d8645b150a6c1421b82ad93ab7e316e454a2708.tar.gz bcm5719-llvm-5d8645b150a6c1421b82ad93ab7e316e454a2708.zip |
Simplify EmitLValueForField - we can get whether the field is part of a union or not from the FieldDecl (through its DeclContext).
llvm-svn: 94798
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index f1b213dc447..98e00ba0473 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1013,7 +1013,7 @@ public: llvm::Value *EmitIvarOffset(const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); LValue EmitLValueForField(llvm::Value* Base, const FieldDecl* Field, - bool isUnion, unsigned CVRQualifiers); + unsigned CVRQualifiers); LValue EmitLValueForIvar(QualType ObjectTy, llvm::Value* Base, const ObjCIvarDecl *Ivar, unsigned CVRQualifiers); |