aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/alist_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/alist_node.h')
-rw-r--r--include/llvm/ADT/alist_node.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/ADT/alist_node.h b/include/llvm/ADT/alist_node.h
index 03c66f6..1b877c0 100644
--- a/include/llvm/ADT/alist_node.h
+++ b/include/llvm/ADT/alist_node.h
@@ -100,22 +100,22 @@ public:
}
void destroySentinel(NodeTy *N) {
- assert(N == &Sentinel);
+ assert(N == &Sentinel); N = N;
Sentinel.setPrev(0);
Sentinel.setNext(0);
}
- void addNodeToList(NodeTy *N) {}
- void removeNodeFromList(NodeTy *N) {}
- void transferNodesFromList(iplist<NodeTy, ilist_traits> &L2,
- ilist_iterator<NodeTy> first,
- ilist_iterator<NodeTy> last) {}
+ void addNodeToList(NodeTy *) {}
+ void removeNodeFromList(NodeTy *) {}
+ void transferNodesFromList(iplist<NodeTy, ilist_traits> &,
+ ilist_iterator<NodeTy> /*first*/,
+ ilist_iterator<NodeTy> /*last*/) {}
// Ideally we wouldn't implement this, but ilist's clear calls it,
// which is called from ilist's destructor. We won't ever call
// either of those with a non-empty list, but statically this
// method needs to exist.
- void deleteNode(NodeTy *N) { assert(0); }
+ void deleteNode(NodeTy *) { assert(0); }
private:
static NodeTy *createNode(const NodeTy &V); // do not implement