summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/Metadata.h')
-rw-r--r--include/llvm/IR/Metadata.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/IR/Metadata.h b/include/llvm/IR/Metadata.h
index 9b044a3729..d054fbba22 100644
--- a/include/llvm/IR/Metadata.h
+++ b/include/llvm/IR/Metadata.h
@@ -219,7 +219,6 @@ class NamedMDNode : public ilist_node<NamedMDNode> {
public:
op_iterator_impl() : Node(0), Idx(0) { }
- op_iterator_impl(const op_iterator_impl &o) : Node(o.Node), Idx(o.Idx) { }
bool operator==(const op_iterator_impl &o) const { return Idx == o.Idx; }
bool operator!=(const op_iterator_impl &o) const { return Idx != o.Idx; }
@@ -242,11 +241,6 @@ class NamedMDNode : public ilist_node<NamedMDNode> {
return tmp;
}
- op_iterator_impl &operator=(const op_iterator_impl &o) {
- Node = o.Node;
- Idx = o.Idx;
- return *this;
- }
T1 operator*() const { return Node->getOperand(Idx); }
};