Wdeprecated: Support movability of EHScopeStack::Cleanup objects as they are move constructed in ConditionalCleanup::restore

llvm-svn: 245367
This commit is contained in:
David Blaikie 2015-08-18 22:09:28 +00:00
parent c6bb0e2a51
commit fb2b796ecc
1 changed files with 5 additions and 0 deletions

View File

@ -144,7 +144,12 @@ public:
class Cleanup {
// Anchor the construction vtable.
virtual void anchor();
public:
Cleanup(const Cleanup &) = default;
Cleanup(Cleanup &&) = default;
Cleanup() = default;
/// Generation flags.
class Flags {
enum {