summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-12-11 01:31:54 +0000
committerRui Ueyama <ruiu@google.com>2013-12-11 01:31:54 +0000
commit5c65a0efd10f023ba24785fd19cf0339e68c169c (patch)
tree73fbacf4643da30bc23cf0b98b0f9819ee7afc95
parent74aa0256c92902c09044adfcdbc6b05ad4b4dd4a (diff)
downloadbcm5719-llvm-5c65a0efd10f023ba24785fd19cf0339e68c169c.tar.gz
bcm5719-llvm-5c65a0efd10f023ba24785fd19cf0339e68c169c.zip
s/NULL/nullptr/
llvm-svn: 196994
-rw-r--r--lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp b/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
index ab747ac25a8..625310b0481 100644
--- a/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
+++ b/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp
@@ -361,7 +361,7 @@ PEHeaderChunk::PEHeaderChunk(const PECOFFLinkingContext &context)
std::memset(&_peHeader, 0, sizeof(_peHeader));
_coffHeader.Machine = context.getMachineType();
- _coffHeader.TimeDateStamp = time(NULL);
+ _coffHeader.TimeDateStamp = time(nullptr);
// The size of PE header including optional data directory is always 224.
_coffHeader.SizeOfOptionalHeader = 224;
OpenPOWER on IntegriCloud