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)
commit3875a82d422230ba97c3c1a4fc452c5ad81af513
treebf7f5ea7503e9bb1f244011ce37a62266ba8bf6a
parentb61064ed398191460f746e05a8ef8cb48b64a436
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
clang/include/clang/Basic/FileManager.h
clang/lib/Basic/FileManager.cpp
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
clang/lib/Frontend/TextDiagnosticPrinter.cpp
clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp