From 4266ae806798f1e8982a53bb9babe1e508adfc68 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 13 Apr 2014 04:57:38 +0000 Subject: [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206129 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MC/MCValue.cpp') diff --git a/lib/MC/MCValue.cpp b/lib/MC/MCValue.cpp index 68ecffbeab..21d9e2102e 100644 --- a/lib/MC/MCValue.cpp +++ b/lib/MC/MCValue.cpp @@ -38,6 +38,6 @@ void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const { #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void MCValue::dump() const { - print(dbgs(), 0); + print(dbgs(), nullptr); } #endif -- cgit v1.2.3