summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-19 14:25:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-19 14:25:38 +0000
commit6d1e379158fa2c9801979ee4779044d2d3ad38e7 (patch)
treeac7fe557c374830bc68d9447a32de86839044c20 /llvm/lib
parent7285207486d19a02ebbec9f75268f30479c55801 (diff)
downloadbcm5719-llvm-6d1e379158fa2c9801979ee4779044d2d3ad38e7.tar.gz
bcm5719-llvm-6d1e379158fa2c9801979ee4779044d2d3ad38e7.zip
Remove Path::isObjectFile.
llvm-svn: 184305
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Path.cpp8
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()) {
OpenPOWER on IntegriCloud