diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-10-01 16:56:40 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-10-01 16:56:40 +0000 |
commit | 5afc869f9677210c0a2c2ff8239e3a386cd7db26 (patch) | |
tree | 9f2672a044a3f4a47cc6d5fbbd9f045a853efb50 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | e825f44761d8a2f36e075caeaefb2286264910d9 (diff) | |
download | bcm5719-llvm-5afc869f9677210c0a2c2ff8239e3a386cd7db26.tar.gz bcm5719-llvm-5afc869f9677210c0a2c2ff8239e3a386cd7db26.zip |
Adds 'override' to overriding methods. NFC.
These were uncoveredby my yet undelivered patch.
llvm-svn: 218774
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
-rw-r--r-- | clang/unittests/Basic/VirtualFileSystemTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp index bdd43733541..e6c8b2773c7 100644 --- a/clang/unittests/Basic/VirtualFileSystemTest.cpp +++ b/clang/unittests/Basic/VirtualFileSystemTest.cpp @@ -32,7 +32,7 @@ class DummyFileSystem : public vfs::FileSystem { public: DummyFileSystem() : FSID(getNextFSID()), FileID(0) {} - ErrorOr<vfs::Status> status(const Twine &Path) { + ErrorOr<vfs::Status> status(const Twine &Path) override { std::map<std::string, vfs::Status>::iterator I = FilesAndDirs.find(Path.str()); if (I == FilesAndDirs.end()) @@ -40,7 +40,7 @@ public: return I->second; } std::error_code openFileForRead(const Twine &Path, - std::unique_ptr<vfs::File> &Result) { + std::unique_ptr<vfs::File> &Result) override { llvm_unreachable("unimplemented"); } std::error_code getBufferForFile(const Twine &Name, |