aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/Metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IR/Metadata.cpp')
-rw-r--r--lib/IR/Metadata.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp
index ef0660d..bd4d9c0 100644
--- a/lib/IR/Metadata.cpp
+++ b/lib/IR/Metadata.cpp
@@ -65,7 +65,7 @@ class MDNodeOperand : public CallbackVH {
public:
MDNodeOperand(Value *V) : CallbackVH(V) {}
- virtual ~MDNodeOperand();
+ ~MDNodeOperand() {}
void set(Value *V) {
unsigned IsFirst = this->getValPtrInt();
@@ -82,8 +82,6 @@ public:
};
} // end namespace llvm.
-MDNodeOperand::~MDNodeOperand() {}
-
void MDNodeOperand::deleted() {
getParent()->replaceOperand(this, 0);