mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Inline Path::isBitcodeFile into only use and remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user