[C++11] More 'nullptr' conversion or in some cases just using a boolean check instead...
[oota-llvm.git] / include / llvm / MC / MCAsmInfo.h
index 037a24f85b2c6e2148bd32c09ac71075702464a1..f7d3be251e1baf5af2a9034a2b930005a094061e 100644 (file)
@@ -365,7 +365,7 @@ namespace llvm {
     /// specify a section to switch to if the translation unit doesn't have any
     /// trampolines that require an executable stack.
     virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const{
-      return 0;
+      return nullptr;
     }
 
     virtual const MCExpr *