rsmith added inline comments.
Comment at: lib/Sema/SemaDeclCXX.cpp:6045
// Inform the class that we've finished declaring this member.
Record->finishedDefaultedOrDeletedMember(M);
M->setTrivialForCall(
Your new handling should go
Rakete updated this revision to Diff 159160.
Rakete added a comment.
Add missing test cases. :)
Repository:
rC Clang
https://reviews.llvm.org/D50291
Files:
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
test/CXX/special/class.copy/p10.cpp
Index: test/CXX/special/class.copy
Rakete created this revision.
Rakete added a reviewer: rsmith.
Specific class layouts meant that the constexpr-ness of a special member could
only be decided after every special member was seen. However, this was at odds
with the implementation, which checked the constexpr-ness for each