diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-07 04:17:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-07 04:17:22 +0000 |
commit | c10719f55d3babe47ce754ad4e4964c7cd90d6e8 (patch) | |
tree | 28574fe7c646e03e6660387f3595f098d75fcd3f /llvm/lib/Support/FormattedStream.cpp | |
parent | 093edf8c7f4d44979376892303d101f02924c68f (diff) | |
download | bcm5719-llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.tar.gz bcm5719-llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.zip |
[C++11] Make use of 'nullptr' in the Support library.
llvm-svn: 205697
Diffstat (limited to 'llvm/lib/Support/FormattedStream.cpp')
-rw-r--r-- | llvm/lib/Support/FormattedStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/FormattedStream.cpp b/llvm/lib/Support/FormattedStream.cpp index 9febf664f2b..618ec2673a1 100644 --- a/llvm/lib/Support/FormattedStream.cpp +++ b/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 |