forked from OSchip/llvm-project
Wdeprecated: Support movability of EHScopeStack::Cleanup objects as they are move constructed in ConditionalCleanup::restore
llvm-svn: 245367
This commit is contained in:
parent
c6bb0e2a51
commit
fb2b796ecc
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue