[clang] 0bcf34e - [Clang] [NFC] Mark `UnresolvedSetImpl`'s move operations as defaulted (#97930)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 22 20:28:03 PST 2025
Author: MagentaTreehouse
Date: 2025-01-23T05:27:59+01:00
New Revision: 0bcf34e422683b900ed504c5e4605038b257f1ee
URL: https://github.com/llvm/llvm-project/commit/0bcf34e422683b900ed504c5e4605038b257f1ee
DIFF: https://github.com/llvm/llvm-project/commit/0bcf34e422683b900ed504c5e4605038b257f1ee.diff
LOG: [Clang] [NFC] Mark `UnresolvedSetImpl`'s move operations as defaulted (#97930)
Added:
Modified:
clang/include/clang/AST/UnresolvedSet.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/UnresolvedSet.h b/clang/include/clang/AST/UnresolvedSet.h
index 1369725ab4e96a..46daf32b7eba26 100644
--- a/clang/include/clang/AST/UnresolvedSet.h
+++ b/clang/include/clang/AST/UnresolvedSet.h
@@ -71,9 +71,8 @@ class UnresolvedSetImpl {
UnresolvedSetImpl(const UnresolvedSetImpl &) = default;
UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default;
- // FIXME: Switch these to "= default" once MSVC supports generating move ops
- UnresolvedSetImpl(UnresolvedSetImpl &&) {}
- UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) { return *this; }
+ UnresolvedSetImpl(UnresolvedSetImpl &&) = default;
+ UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) = default;
public:
// We don't currently support assignment through this iterator, so we might
More information about the cfe-commits
mailing list