From ada08576794e09149986dea19c9567abb56c3c02 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 16 Apr 2014 04:21:27 +0000 Subject: [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. llvm-svn: 206356 --- llvm/lib/CodeGen/SplitKit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SplitKit.h') 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 *LRMap = 0); + void finish(SmallVectorImpl *LRMap = nullptr); /// dump - print the current interval maping to dbgs(). void dump() const; -- cgit v1.2.3