[C++] Use 'nullptr'. Target edition.
[oota-llvm.git] / lib / Target / Sparc / MCTargetDesc / SparcMCAsmInfo.cpp
index ef5f8ce15582489905bf640b1f56f90740ee2c0c..6875fc65354160818b3a76cfa0f34efdf1281e19 100644 (file)
@@ -32,7 +32,7 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
   Data16bitsDirective = "\t.half\t";
   Data32bitsDirective = "\t.word\t";
   // .xword is only supported by V9.
-  Data64bitsDirective = (isV9) ? "\t.xword\t" : 0;
+  Data64bitsDirective = (isV9) ? "\t.xword\t" : nullptr;
   ZeroDirective = "\t.skip\t";
   CommentString = "!";
   HasLEB128 = true;