projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde79b4
)
Re-add (user defined) move ops to UnresolvedSetImpl to allow UnresolvedSet to be...
author
David Blaikie
<dblaikie@gmail.com>
Thu, 17 Mar 2016 20:45:38 +0000
(20:45 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Thu, 17 Mar 2016 20:45:38 +0000
(20:45 +0000)
llvm-svn: 263747
clang/include/clang/AST/UnresolvedSet.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/AST/UnresolvedSet.h
b/clang/include/clang/AST/UnresolvedSet.h
index
672ec44
..
c1be2aa
100644
(file)
--- a/
clang/include/clang/AST/UnresolvedSet.h
+++ b/
clang/include/clang/AST/UnresolvedSet.h
@@
-63,6
+63,10
@@
private:
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; }
+
public:
// We don't currently support assignment through this iterator, so we might
// as well use the same implementation twice.