summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Path.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp
index 7ddaf1e89e..8e229ab88a 100644
--- a/lib/Support/Path.cpp
+++ b/lib/Support/Path.cpp
@@ -61,14 +61,6 @@ Path::isDynamicLibrary() const {
}
}
-bool
-Path::isObjectFile() const {
- fs::file_magic type;
- if (fs::identify_magic(str(), type) || type == fs::file_magic::unknown)
- return false;
- return true;
-}
-
void
Path::appendSuffix(StringRef suffix) {
if (!suffix.empty()) {