diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-13 04:57:38 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-13 04:57:38 +0000 |
commit | 4266ae806798f1e8982a53bb9babe1e508adfc68 (patch) | |
tree | d0a8021366191c2884dc07bfe73a2daee0b417c1 /lib/MC/MCValue.cpp | |
parent | 4e510c10b5310cffe6c27fb49c7f7d170dc73639 (diff) | |
download | llvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.gz llvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.bz2 llvm-4266ae806798f1e8982a53bb9babe1e508adfc68.tar.xz |
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCValue.cpp')
-rw-r--r-- | lib/MC/MCValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCValue.cpp b/lib/MC/MCValue.cpp index 68ecffbeab..21d9e2102e 100644 --- a/lib/MC/MCValue.cpp +++ b/lib/MC/MCValue.cpp @@ -38,6 +38,6 @@ void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const { #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void MCValue::dump() const { - print(dbgs(), 0); + print(dbgs(), nullptr); } #endif |