summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileUtilities.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 02:57:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 02:57:41 +0000
commitd99eaa3c1f7bfb930b7b0b85fd67d269b20d1804 (patch)
treee22afcbfdef62f6b3a0a0c227686a01f17403430 /include/llvm/Support/FileUtilities.h
parentca767406332d34892bf5e9adb0adfe3a80fe76e2 (diff)
downloadllvm-d99eaa3c1f7bfb930b7b0b85fd67d269b20d1804.tar.gz
llvm-d99eaa3c1f7bfb930b7b0b85fd67d269b20d1804.tar.bz2
llvm-d99eaa3c1f7bfb930b7b0b85fd67d269b20d1804.tar.xz
For PR351:Remove the file type checking methods (now in sys::Path)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileUtilities.h')
-rw-r--r--include/llvm/Support/FileUtilities.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h
index c9f52c3248..29d5a571eb 100644
--- a/include/llvm/Support/FileUtilities.h
+++ b/include/llvm/Support/FileUtilities.h
@@ -22,27 +22,27 @@ namespace llvm {
/// CheckMagic - Returns true IFF the file named FN begins with Magic. FN must
/// name a readable file.
///
-bool CheckMagic (const std::string &FN, const std::string &Magic);
+//bool CheckMagic (const std::string &FN, const std::string &Magic);
/// IsArchive - Returns true IFF the file named FN appears to be a "ar" library
/// archive. The file named FN must exist.
///
-bool IsArchive (const std::string &FN);
+//bool IsArchive (const std::string &FN);
/// IsBytecode - Returns true IFF the file named FN appears to be an LLVM
/// bytecode file. The file named FN must exist.
///
-bool IsBytecode (const std::string &FN);
+//bool IsBytecode (const std::string &FN);
/// IsSharedObject - Returns trus IFF the file named FN appears to be a shared
/// object with an ELF header. The file named FN must exist.
///
-bool IsSharedObject(const std::string &FN);
+//bool IsSharedObject(const std::string &FN);
/// FileOpenable - Returns true IFF Filename names an existing regular file
/// which we can successfully open.
///
-bool FileOpenable(const std::string &Filename);
+//bool FileOpenable(const std::string &Filename);
/// DiffFiles - Compare the two files specified, returning true if they are
/// different or if there is a file error. If you specify a string to fill in