projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2fe41
)
Use isa<> instead of dyn_cast<> as suggested by Nick.
author
John McCall
<rjmccall@apple.com>
Wed, 9 Nov 2011 03:26:50 +0000
(
03:26
+0000)
committer
John McCall
<rjmccall@apple.com>
Wed, 9 Nov 2011 03:26:50 +0000
(
03:26
+0000)
Should've read the patch a bit closer, sorry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144164
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-diff/DiffConsumer.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-diff/DiffConsumer.cpp
b/tools/llvm-diff/DiffConsumer.cpp
index 24b372d022909942bd83e5670517da723c8bce30..d9e181470e043c475471486d2afc9d20a015919e 100644
(file)
--- a/
tools/llvm-diff/DiffConsumer.cpp
+++ b/
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;
}