summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-16 04:21:27 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-16 04:21:27 +0000
commitada08576794e09149986dea19c9567abb56c3c02 (patch)
tree3de49031d588fcc718488b21e8ab9093e62656fc /llvm/lib/CodeGen/SplitKit.h
parenta2bf05aa2fede796f52a40cd6b9115165800db24 (diff)
downloadbcm5719-llvm-ada08576794e09149986dea19c9567abb56c3c02.tar.gz
bcm5719-llvm-ada08576794e09149986dea19c9567abb56c3c02.zip
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206356
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r--llvm/lib/CodeGen/SplitKit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h
index f029c73d122..08bcf35350d 100644
--- a/llvm/lib/CodeGen/SplitKit.h
+++ b/llvm/lib/CodeGen/SplitKit.h
@@ -417,7 +417,7 @@ public:
/// @param LRMap When not null, this vector will map each live range in Edit
/// back to the indices returned by openIntv.
/// There may be extra indices created by dead code elimination.
- void finish(SmallVectorImpl<unsigned> *LRMap = 0);
+ void finish(SmallVectorImpl<unsigned> *LRMap = nullptr);
/// dump - print the current interval maping to dbgs().
void dump() const;
OpenPOWER on IntegriCloud