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/AggressiveAntiDepBreaker.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/AggressiveAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/AggressiveAntiDepBreaker.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.h b/lib/CodeGen/AggressiveAntiDepBreaker.h index 29b6a10867..2ab9d89574 100644 --- a/lib/CodeGen/AggressiveAntiDepBreaker.h +++ b/lib/CodeGen/AggressiveAntiDepBreaker.h @@ -170,7 +170,8 @@ class RegisterClassInfo; void GetPassthruRegs(MachineInstr *MI, std::set<unsigned>& PassthruRegs); void HandleLastUse(unsigned Reg, unsigned KillIdx, const char *tag, - const char *header =NULL, const char *footer =NULL); + const char *header = nullptr, + const char *footer = nullptr); void PrescanInstruction(MachineInstr *MI, unsigned Count, std::set<unsigned>& PassthruRegs); |