diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-16 04:21:27 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-16 04:21:27 +0000 |
commit | 695aa80f079dd93c685be559a60f02afb499480f (patch) | |
tree | f248db1f10178a76c31e1d91cd35d003cd91a1db /lib/CodeGen/SplitKit.h | |
parent | 73a7844c654e262cafaaf3eb96df0034d878996e (diff) | |
download | llvm-695aa80f079dd93c685be559a60f02afb499480f.tar.gz llvm-695aa80f079dd93c685be559a60f02afb499480f.tar.bz2 llvm-695aa80f079dd93c685be559a60f02afb499480f.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@206356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r-- | lib/CodeGen/SplitKit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index f029c73d12..08bcf35350 100644 --- a/lib/CodeGen/SplitKit.h +++ b/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; |