diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-07 18:43:32 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-07 18:43:32 +0000 |
| commit | 5c9dc779721ece5142041d5f19d082b13dcc4b35 (patch) | |
| tree | 7e9a7e16d3faed5e0c340afb338d86db98757d4d /include/llvm | |
| parent | 144f65a292cc236586f2c8130c27f45514dc71c7 (diff) | |
| download | external_llvm-5c9dc779721ece5142041d5f19d082b13dcc4b35.zip external_llvm-5c9dc779721ece5142041d5f19d082b13dcc4b35.tar.gz external_llvm-5c9dc779721ece5142041d5f19d082b13dcc4b35.tar.bz2 | |
Make ilist noncopyable too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
| -rw-r--r-- | include/llvm/ADT/ilist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index 016e9fd..9700b60 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; |
