Skip to content

Commit 0bcf34e

Browse files
[Clang] [NFC] Mark UnresolvedSetImpl's move operations as defaulted (#97930)
1 parent 19834b4 commit 0bcf34e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/include/clang/AST/UnresolvedSet.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ class UnresolvedSetImpl {
7171
UnresolvedSetImpl(const UnresolvedSetImpl &) = default;
7272
UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default;
7373

74-
// FIXME: Switch these to "= default" once MSVC supports generating move ops
75-
UnresolvedSetImpl(UnresolvedSetImpl &&) {}
76-
UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) { return *this; }
74+
UnresolvedSetImpl(UnresolvedSetImpl &&) = default;
75+
UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) = default;
7776

7877
public:
7978
// We don't currently support assignment through this iterator, so we might

0 commit comments

Comments
 (0)