diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-14 00:51:57 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-14 00:51:57 +0000 |
commit | c0196b1b4094aeb27fd91466e0c4c1185a492daa (patch) | |
tree | 3a3d0ad3aebec28bee34ab7808fee8e75e567eb8 /llvm/lib/CodeGen/GCStrategy.cpp | |
parent | 0192cbac6669fb9fff8cf9a75d53757a494af9ca (diff) | |
download | bcm5719-llvm-c0196b1b4094aeb27fd91466e0c4c1185a492daa.tar.gz bcm5719-llvm-c0196b1b4094aeb27fd91466e0c4c1185a492daa.zip |
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206142
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GCStrategy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp index b31a0f2d0bc..a5fa3674a7b 100644 --- a/llvm/lib/CodeGen/GCStrategy.cpp +++ b/llvm/lib/CodeGen/GCStrategy.cpp @@ -118,7 +118,7 @@ bool GCStrategy::performCustomLowering(Function &F) { bool GCStrategy::findCustomSafePoints(GCFunctionInfo& FI, MachineFunction &F) { dbgs() << "gc " << getName() << " must override findCustomSafePoints.\n"; - llvm_unreachable(0); + llvm_unreachable(nullptr); } |