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