aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-13 04:57:38 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-13 04:57:38 +0000
commitbb694de64964b4026ca1fb2ec2dcb5023d4923ac (patch)
treee6172ee81777598ab71087d900e2039987a18981 /llvm/lib/MC/MCAsmInfo.cpp
parent9e2f0a4f628b2cefb9a234c3c66f820bdbc966fc (diff)
downloadllvm-bb694de64964b4026ca1fb2ec2dcb5023d4923ac.zip
llvm-bb694de64964b4026ca1fb2ec2dcb5023d4923ac.tar.gz
llvm-bb694de64964b4026ca1fb2ec2dcb5023d4923ac.tar.bz2
[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/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index 9667145..c0777a6 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -61,8 +61,8 @@ MCAsmInfo::MCAsmInfo() {
UsesELFSectionDirectiveForBSS = false;
AlignmentIsInBytes = true;
TextAlignFillValue = 0;
- GPRel64Directive = 0;
- GPRel32Directive = 0;
+ GPRel64Directive = nullptr;
+ GPRel32Directive = nullptr;
GlobalDirective = "\t.globl\t";
HasSetDirective = true;
HasAggressiveSymbolFolding = true;
@@ -72,7 +72,7 @@ MCAsmInfo::MCAsmInfo() {
HasSingleParameterDotFile = true;
HasIdentDirective = false;
HasNoDeadStrip = false;
- WeakRefDirective = 0;
+ WeakRefDirective = nullptr;
HasWeakDefDirective = false;
HasWeakDefCanBeHiddenDirective = false;
HasLinkOnceDirective = false;