diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:13:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 15:13:57 +0000 |
commit | 71affba988eebc73f3c3556a79d7fdda33b53766 (patch) | |
tree | 767de198ece33ee1c16594178a28c1aa727357ea /llvm/lib/Support | |
parent | b703be2544d4bab1d7c86b463eb1518e5e811948 (diff) | |
download | bcm5719-llvm-71affba988eebc73f3c3556a79d7fdda33b53766.tar.gz bcm5719-llvm-71affba988eebc73f3c3556a79d7fdda33b53766.zip |
Inline Path::isBitcodeFile into only use and remove it.
llvm-svn: 183840
Diffstat (limited to 'llvm/lib/Support')
-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 d47d23f57b0..7ddaf1e89ed 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -77,14 +77,6 @@ Path::appendSuffix(StringRef suffix) { } } -bool -Path::isBitcodeFile() const { - fs::file_magic type; - if (fs::identify_magic(str(), type)) - return false; - return type == fs::file_magic::bitcode; -} - // Include the truly platform-specific parts of this class. #if defined(LLVM_ON_UNIX) #include "Unix/Path.inc" |