diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-07-19 01:06:45 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-07-19 01:06:45 +0000 |
commit | 3875a82d422230ba97c3c1a4fc452c5ad81af513 (patch) | |
tree | bf7f5ea7503e9bb1f244011ce37a62266ba8bf6a /clang/lib/Basic/FileManager.cpp | |
parent | b61064ed398191460f746e05a8ef8cb48b64a436 (diff) | |
download | bcm5719-llvm-3875a82d422230ba97c3c1a4fc452c5ad81af513.tar.gz bcm5719-llvm-3875a82d422230ba97c3c1a4fc452c5ad81af513.zip |
Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()"
It's also possible to just write "= nullptr", but there's some question
of whether that's as readable, so I leave it up to authors to pick which
they prefer for now. If we want to discuss standardizing on one or the
other, we can do that at some point in the future.
llvm-svn: 213439
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
-rw-r--r-- | clang/lib/Basic/FileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp index 22beed7dcce..94210320bff 100644 --- a/clang/lib/Basic/FileManager.cpp +++ b/clang/lib/Basic/FileManager.cpp @@ -100,7 +100,7 @@ void FileManager::removeStatCache(FileSystemStatCache *statCache) { } void FileManager::clearStatCaches() { - StatCache.reset(nullptr); + StatCache.reset(); } /// \brief Retrieve the directory that the given file name resides in. |