aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/ilist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h
index 016e9fd15f..9700b60f24 100644
--- a/include/llvm/ADT/ilist.h
+++ b/include/llvm/ADT/ilist.h
@@ -256,6 +256,12 @@ class iplist : public Traits {
static bool op_less(NodeTy &L, NodeTy &R) { return L < R; }
static bool op_equal(NodeTy &L, NodeTy &R) { return L == R; }
+
+ // No fundamental reason why iplist can't by copyable, but the default
+ // copy/copy-assign won't do.
+ iplist(const iplist &); // do not implement
+ void operator=(const iplist &); // do not implement
+
public:
typedef NodeTy *pointer;
typedef const NodeTy *const_pointer;