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 | 56c00c4868831c9a137ca7b0e16d063cf986d110 (patch) | |
tree | 7f34b0c64c6f4a63e411c4229cff5afc2046326c /lib/CodeGen/CodeGenFunction.h | |
parent | 28a2cecfda994ed9df897ab147159def8d8a4c19 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175389 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 e85c23e217..fce5c49950 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/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, |