projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f178700
)
Make ilist noncopyable too.
author
Dan Gohman
<gohman@apple.com>
Mon, 7 Jul 2008 18:43:32 +0000
(18:43 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 7 Jul 2008 18:43:32 +0000
(18:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53190
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ilist.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ilist.h
b/include/llvm/ADT/ilist.h
index 016e9fd15faaa06147197b83941d10c84e4b4483..9700b60f2401f4b126621fe703a4afe239d24b2b 100644
(file)
--- 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;