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 | bb694de64964b4026ca1fb2ec2dcb5023d4923ac (patch) | |
tree | e6172ee81777598ab71087d900e2039987a18981 /llvm/lib/MC/MachObjectWriter.cpp | |
parent | 9e2f0a4f628b2cefb9a234c3c66f820bdbc966fc (diff) | |
download | bcm5719-llvm-bb694de64964b4026ca1fb2ec2dcb5023d4923ac.tar.gz bcm5719-llvm-bb694de64964b4026ca1fb2ec2dcb5023d4923ac.zip |
[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr.
llvm-svn: 206129
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/MachObjectWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp index 5fcea5f06c1..dc21e328c5b 100644 --- a/llvm/lib/MC/MachObjectWriter.cpp +++ b/llvm/lib/MC/MachObjectWriter.cpp @@ -669,7 +669,7 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm, // - addr(atom(B)) - offset(B) // and the offsets are not relocatable, so the fixup is fully resolved when // addr(atom(A)) - addr(atom(B)) == 0. - const MCSymbolData *A_Base = 0, *B_Base = 0; + const MCSymbolData *A_Base = nullptr, *B_Base = nullptr; const MCSymbol &SA = DataA.getSymbol().AliasedSymbol(); const MCSection &SecA = SA.getSection(); |