PR23373: A defaulted union copy constructor that is not trivial must still be
emitted as a memcpy. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236142 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/AST/ExprConstant.cpp 5 additions, 6 deletionslib/AST/ExprConstant.cpp
- lib/CodeGen/CGClass.cpp 37 additions, 25 deletionslib/CodeGen/CGClass.cpp
- lib/CodeGen/CGExprAgg.cpp 2 additions, 1 deletionlib/CodeGen/CGExprAgg.cpp
- lib/CodeGen/CGExprCXX.cpp 1 addition, 1 deletionlib/CodeGen/CGExprCXX.cpp
- lib/Sema/SemaDeclCXX.cpp 6 additions, 2 deletionslib/Sema/SemaDeclCXX.cpp
- test/CodeGenCXX/copy-constructor-synthesis-2.cpp 21 additions, 1 deletiontest/CodeGenCXX/copy-constructor-synthesis-2.cpp
Loading
Please register or sign in to comment