commit | a6db70b049ded3704a2e3cd190733f5abd3cdd82 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Nov 09 03:26:50 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Nov 09 03:26:50 2011 +0000 |
tree | a4562fe7d22b07c10f5e747553ca23e582227402 | |
parent | 595d419427875814074817d8fcc4576690769078 [diff] [blame] |
Use isa<> instead of dyn_cast<> as suggested by Nick. Should've read the patch a bit closer, sorry. llvm-svn: 144164
diff --git a/llvm/tools/llvm-diff/DiffConsumer.cpp b/llvm/tools/llvm-diff/DiffConsumer.cpp index 24b372d..d9e1814 100644 --- a/llvm/tools/llvm-diff/DiffConsumer.cpp +++ b/llvm/tools/llvm-diff/DiffConsumer.cpp
@@ -64,7 +64,7 @@ } return; } - if (dyn_cast<Constant>(V)) { + if (isa<Constant>(V)) { out << *V; return; }