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, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-diff/DiffConsumer.cpp b/llvm/tools/llvm-diff/DiffConsumer.cpp
index 24b372d0229..d9e181470e0 100644
--- a/llvm/tools/llvm-diff/DiffConsumer.cpp
+++ b/llvm/tools/llvm-diff/DiffConsumer.cpp
@@ -64,7 +64,7 @@ void DiffConsumer::printValue(Value *V, bool isL) {
}
return;
}
- if (dyn_cast<Constant>(V)) {
+ if (isa<Constant>(V)) {
out << *V;
return;
}
OpenPOWER on IntegriCloud