summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-15 04:59:12 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-15 04:59:12 +0000
commit9f008867c063919762189487e78bcb7ace2b256d (patch)
treea768a65bc7a91c59f5d98aadbb7d827fdeb30ccd /llvm/lib/Analysis/InstCount.cpp
parent4a7a0509102a0af018011d2708bf321fa6984596 (diff)
downloadbcm5719-llvm-9f008867c063919762189487e78bcb7ace2b256d.tar.gz
bcm5719-llvm-9f008867c063919762189487e78bcb7ace2b256d.zip
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206243
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index 3d05556363a..6d81bbb5bd4 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -47,7 +47,7 @@ namespace {
void visitInstruction(Instruction &I) {
errs() << "Instruction Count does not know about " << I;
- llvm_unreachable(0);
+ llvm_unreachable(nullptr);
}
public:
static char ID; // Pass identification, replacement for typeid
OpenPOWER on IntegriCloud