Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 05f452d

Browse files
committed
Attempt #2 to appease the buildbots.
MSVC calls the copy ctor on StratifiedSets for some reason. So, undelete it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272184 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d3fa840 commit 05f452d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Analysis/StratifiedSets.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ struct StratifiedLink {
9494
template <typename T> class StratifiedSets {
9595
public:
9696
StratifiedSets() = default;
97-
// If we have a need to copy these at some point, it's fine to default this.
98-
// At the time of writing, copying StratifiedSets is always a perf bug.
99-
StratifiedSets(const StratifiedSets &) = delete;
97+
98+
// TODO: Figure out how to make MSVC not call the copy ctor here, and delete
99+
// it.
100100

101101
// Can't default these due to compile errors in MSVC2013
102102
StratifiedSets(StratifiedSets &&Other) { *this = std::move(Other); }

0 commit comments

Comments
 (0)