aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-01-26 19:01:06 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-01-26 19:01:06 +0000
commit1660a5d2983030e92c372be4746adc35489e552e (patch)
tree5b61cc6278e1de71ae78a018c537d69af70bfb9a /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent2c8592a80f8be40f9a3e1289c8eaa8abaa9f6d9e (diff)
downloadllvm-1660a5d2983030e92c372be4746adc35489e552e.zip
llvm-1660a5d2983030e92c372be4746adc35489e552e.tar.gz
llvm-1660a5d2983030e92c372be4746adc35489e552e.tar.bz2
Fix Clang-tidy modernize-use-nullptr warnings; other minor fixes.
Differential revision: http://reviews.llvm.org/D16567 llvm-svn: 258836
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
-rw-r--r--clang/unittests/Basic/VirtualFileSystemTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp
index 7abc549..9448ad4 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<std::string> Contents;
for (auto E = vfs::recursive_directory_iterator(); !EC && I != E;
I.increment(EC)) {