[llvm] a67f057 - [FileCollector] Devirtualize FileCollector (NFC)
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 27 17:47:40 PDT 2020
Author: Jonas Devlieghere
Date: 2020-03-27T17:47:18-07:00
New Revision: a67f057f6975d2b7e51765e976b8772ffb8fb7e8
URL: https://github.com/llvm/llvm-project/commit/a67f057f6975d2b7e51765e976b8772ffb8fb7e8
DIFF: https://github.com/llvm/llvm-project/commit/a67f057f6975d2b7e51765e976b8772ffb8fb7e8.diff
LOG: [FileCollector] Devirtualize FileCollector (NFC)
This is not (yet) necessary.
Added:
Modified:
llvm/include/llvm/Support/FileCollector.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/FileCollector.h b/llvm/include/llvm/Support/FileCollector.h
index cee1b09a8f44..1b6383ef8cc2 100644
--- a/llvm/include/llvm/Support/FileCollector.h
+++ b/llvm/include/llvm/Support/FileCollector.h
@@ -24,10 +24,9 @@ class FileCollectorFileSystem;
class FileCollector {
public:
FileCollector(std::string Root, std::string OverlayRoot);
- virtual ~FileCollector() = default;
- virtual void addFile(const Twine &file);
- virtual void addDirectory(const Twine &Dir);
+ void addFile(const Twine &file);
+ void addDirectory(const Twine &Dir);
/// Write the yaml mapping (for the VFS) to the given file.
std::error_code writeMapping(StringRef MappingFile);
More information about the llvm-commits
mailing list