diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Support/Path.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index 7ddaf1e89ed..8e229ab88a3 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/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()) { |

