From 1660a5d2983030e92c372be4746adc35489e552e Mon Sep 17 00:00:00 2001 From: Eugene Zelenko Date: Tue, 26 Jan 2016 19:01:06 +0000 Subject: Fix Clang-tidy modernize-use-nullptr warnings; other minor fixes. Differential revision: http://reviews.llvm.org/D16567 llvm-svn: 258836 --- clang/unittests/Basic/VirtualFileSystemTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp') diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp index 7abc549292e..9448ad4f1e9 100644 --- a/clang/unittests/Basic/VirtualFileSystemTest.cpp +++ b/clang/unittests/Basic/VirtualFileSystemTest.cpp @@ -29,7 +29,7 @@ struct DummyFile : public vfs::File { bool IsVolatile) override { llvm_unreachable("unimplemented"); } - virtual std::error_code close() override { return std::error_code(); } + std::error_code close() override { return std::error_code(); } }; class DummyFileSystem : public vfs::FileSystem { @@ -348,7 +348,6 @@ TEST(VirtualFileSystemTest, BasicRealFSRecursiveIteration) { ASSERT_FALSE(EC); ASSERT_NE(vfs::recursive_directory_iterator(), I); - std::vector Contents; for (auto E = vfs::recursive_directory_iterator(); !EC && I != E; I.increment(EC)) { -- cgit v1.2.3