Author: dblaikie Date: Tue Aug 18 17:09:28 2015 New Revision: 245367 URL: http://llvm.org/viewvc/llvm-project?rev=245367&view=rev Log: Wdeprecated: Support movability of EHScopeStack::Cleanup objects as they are move constructed in ConditionalCleanup::restore
Modified: cfe/trunk/lib/CodeGen/EHScopeStack.h Modified: cfe/trunk/lib/CodeGen/EHScopeStack.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/EHScopeStack.h?rev=245367&r1=245366&r2=245367&view=diff ============================================================================== --- cfe/trunk/lib/CodeGen/EHScopeStack.h (original) +++ cfe/trunk/lib/CodeGen/EHScopeStack.h Tue Aug 18 17:09:28 2015 @@ -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 { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits