[C++] Use 'nullptr'.
[oota-llvm.git] / lib / Target / MSP430 / InstPrinter / MSP430InstPrinter.cpp
index 782e378687fc89343b8e382873b90798dfb056d5..acf1214a72a56f9e6a7399792edb1cff157d4c59 100644 (file)
@@ -45,7 +45,7 @@ void MSP430InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo,
 
 void MSP430InstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
                                      raw_ostream &O, const char *Modifier) {
-  assert((Modifier == 0 || Modifier[0] == 0) && "No modifiers supported");
+  assert((Modifier == nullptr || Modifier[0] == 0) && "No modifiers supported");
   const MCOperand &Op = MI->getOperand(OpNo);
   if (Op.isReg()) {
     O << getRegisterName(Op.getReg());