]> granicus.if.org Git - clang/commit
Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()"
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jul 2014 01:06:45 +0000 (01:06 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jul 2014 01:06:45 +0000 (01:06 +0000)
commit1614d5cef41e00b329593b4ceb35525b0e1d84af
treee458997a6dea8a27d1e9d5b286e57d746bb80b03
parente7fa63a7a40f8a46640a317194dbea9b4f36f927
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213439 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/FileManager.h
lib/Basic/FileManager.cpp
lib/Format/TokenAnnotator.cpp
lib/Frontend/SerializedDiagnosticPrinter.cpp
lib/Frontend/TextDiagnosticPrinter.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp