[llvm] r338826 - [XRay] Fixup: remove 'noexcept' in defaulted move members
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 3 00:41:34 PDT 2018
Author: dberris
Date: Fri Aug 3 00:41:34 2018
New Revision: 338826
URL: http://llvm.org/viewvc/llvm-project?rev=338826&view=rev
Log:
[XRay] Fixup: remove 'noexcept' in defaulted move members
This is to appease stage1 builds using gcc.
Follow-up to D48370.
Modified:
llvm/trunk/include/llvm/XRay/Profile.h
Modified: llvm/trunk/include/llvm/XRay/Profile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/XRay/Profile.h?rev=338826&r1=338825&r2=338826&view=diff
==============================================================================
--- llvm/trunk/include/llvm/XRay/Profile.h (original)
+++ llvm/trunk/include/llvm/XRay/Profile.h Fri Aug 3 00:41:34 2018
@@ -85,8 +85,8 @@ public:
Profile() = default;
~Profile() = default;
- Profile(Profile &&) noexcept = default;
- Profile &operator=(Profile &&) noexcept = default;
+ Profile(Profile &&) = default;
+ Profile &operator=(Profile &&) = default;
// Disable copy construction and assignment.
Profile(const Profile &) = delete;
More information about the llvm-commits
mailing list