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 /include/llvm/Object/MachO.h | |
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 'include/llvm/Object/MachO.h')
-rw-r--r-- | include/llvm/Object/MachO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 2f25543937..073e8b7baa 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -31,7 +31,7 @@ class DiceRef { const ObjectFile *OwningObject; public: - DiceRef() : OwningObject(NULL) { } + DiceRef() : OwningObject(nullptr) { } DiceRef(DataRefImpl DiceP, const ObjectFile *Owner); |