summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/FormattedStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/Support/FormattedStream.cpp')
-rw-r--r--contrib/llvm/lib/Support/FormattedStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Support/FormattedStream.cpp b/contrib/llvm/lib/Support/FormattedStream.cpp
index 9febf66..618ec26 100644
--- a/contrib/llvm/lib/Support/FormattedStream.cpp
+++ b/contrib/llvm/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
OpenPOWER on IntegriCloud