From ca0984cb8647e5eae58e384715523476e3170d50 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Jun 2013 14:25:38 +0000 Subject: Remove Path::isObjectFile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184305 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Path.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib') 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()) { -- cgit v1.2.3