summaryrefslogtreecommitdiff
path: root/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
commit570e52c6f17d8819ee4c8595fc79d17a6dc51dd9 (patch)
tree42d9d583e8f7da758a694b70ac754702aac50b7a /lib/Analysis/InstCount.cpp
parenta8ae0ad11fe5e8e649e3add7585a6ad235a27fad (diff)
downloadllvm-570e52c6f17d8819ee4c8595fc79d17a6dc51dd9.tar.gz
llvm-570e52c6f17d8819ee4c8595fc79d17a6dc51dd9.tar.bz2
llvm-570e52c6f17d8819ee4c8595fc79d17a6dc51dd9.tar.xz
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InstCount.cpp')
-rw-r--r--lib/Analysis/InstCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index 3d05556363..6d81bbb5bd 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/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