WebAssembly: floating-point comparisons
[oota-llvm.git] / lib / Support / FormattedStream.cpp
index 9febf664f2bef156b2a52dcd04b0a65d0cb3088e..2ed71c7e43119ea6d35543455aa7cf039282debe 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/FormattedStream.h"
+#include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 
 using namespace llvm;
@@ -81,7 +82,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