diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-06-08 17:56:35 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-06-08 17:56:35 +0000 |
commit | fd4e2f7cb229b7f644bb56ef5d4149f56f896263 (patch) | |
tree | 2d72e17a895328277084e96b2cdd8ffbf2a235aa | |
parent | ee641c20cabc59d2d5e212226b9f052f5d0c6187 (diff) | |
download | bcm5719-llvm-fd4e2f7cb229b7f644bb56ef5d4149f56f896263.tar.gz bcm5719-llvm-fd4e2f7cb229b7f644bb56ef5d4149f56f896263.zip |
Attempt #2 to appease the buildbots.
MSVC calls the copy ctor on StratifiedSets for some reason. So,
undelete it.
llvm-svn: 272184
-rw-r--r-- | llvm/lib/Analysis/StratifiedSets.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/StratifiedSets.h b/llvm/lib/Analysis/StratifiedSets.h index d4cdbdb4fb1..ae1befbdf95 100644 --- a/llvm/lib/Analysis/StratifiedSets.h +++ b/llvm/lib/Analysis/StratifiedSets.h @@ -94,9 +94,9 @@ struct StratifiedLink { template <typename T> class StratifiedSets { public: StratifiedSets() = default; - // If we have a need to copy these at some point, it's fine to default this. - // At the time of writing, copying StratifiedSets is always a perf bug. - StratifiedSets(const StratifiedSets &) = delete; + + // TODO: Figure out how to make MSVC not call the copy ctor here, and delete + // it. // Can't default these due to compile errors in MSVC2013 StratifiedSets(StratifiedSets &&Other) { *this = std::move(Other); } |