summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/DiffConsumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-diff/DiffConsumer.cpp')
-rw-r--r--llvm/tools/llvm-diff/DiffConsumer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-diff/DiffConsumer.cpp b/llvm/tools/llvm-diff/DiffConsumer.cpp
index d9e181470e0..05280392a47 100644
--- a/llvm/tools/llvm-diff/DiffConsumer.cpp
+++ b/llvm/tools/llvm-diff/DiffConsumer.cpp
@@ -44,6 +44,8 @@ static void ComputeNumbering(Function *F, DenseMap<Value*,unsigned> &Numbering){
}
+void Consumer::anchor() { }
+
void DiffConsumer::printValue(Value *V, bool isL) {
if (V->hasName()) {
out << (isa<GlobalValue>(V) ? '@' : '%') << V->getName();
OpenPOWER on IntegriCloud