diff options
author | Lang Hames <lhames@gmail.com> | 2013-02-17 07:22:09 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-02-17 07:22:09 +0000 |
commit | bf122744e5baa14f7b88745de02b15d638a5f154 (patch) | |
tree | e4a6bac07ffa8bdbbc896638d3575e506d0df245 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 7a786f8c7ac5250b54648b4063f271ef6c14d90f (diff) | |
download | bcm5719-llvm-bf122744e5baa14f7b88745de02b15d638a5f154.tar.gz bcm5719-llvm-bf122744e5baa14f7b88745de02b15d638a5f154.zip |
Re-apply r174919 - smarter copy/move assignment/construction, with fixes for
bitfield related issues.
The original commit broke Takumi's builder. The bug was caused by bitfield sizes
being determined by their underlying type, rather than the field info. A similar
issue with bitfield alignments showed up on closer testing. Both have been fixed
in this patch.
llvm-svn: 175389
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index e85c23e2172..fce5c499506 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1401,6 +1401,7 @@ public: void EmitConstructorBody(FunctionArgList &Args); void EmitDestructorBody(FunctionArgList &Args); + void emitImplicitAssignmentOperatorBody(FunctionArgList &Args); void EmitFunctionBody(FunctionArgList &Args); void EmitForwardingCallToLambda(const CXXRecordDecl *Lambda, |