X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FFormattedStream.cpp;h=618ec2673a1696b899e4fa3ca9138bf9c40ad422;hb=48e3a273de5a3fee954f650045d6eed6b3591ef7;hp=9febf664f2bef156b2a52dcd04b0a65d0cb3088e;hpb=f28e3c501e033f103405c03a4bbf848cb6e67a2a;p=oota-llvm.git diff --git a/lib/Support/FormattedStream.cpp b/lib/Support/FormattedStream.cpp index 9febf664f2b..618ec2673a1 100644 --- a/lib/Support/FormattedStream.cpp +++ b/lib/Support/FormattedStream.cpp @@ -81,7 +81,7 @@ void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { TheStream->write(Ptr, Size); // Reset the scanning pointer. - Scanned = 0; + Scanned = nullptr; } /// fouts() - This returns a reference to a formatted_raw_ostream for