summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DataStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/DataStream.cpp')
-rw-r--r--llvm/lib/Support/DataStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/DataStream.cpp b/llvm/lib/Support/DataStream.cpp
index 1caeddfe24a..cb36d9c0c02 100644
--- a/llvm/lib/Support/DataStream.cpp
+++ b/llvm/lib/Support/DataStream.cpp
@@ -83,7 +83,7 @@ DataStreamer *getDataFileStreamer(const std::string &Filename,
if (error_code e = s->OpenFile(Filename)) {
*StrError = std::string("Could not open ") + Filename + ": " +
e.message() + "\n";
- return NULL;
+ return nullptr;
}
return s;
}
OpenPOWER on IntegriCloud