[llvm-commits] CVS: llvm/include/llvm/Support/FileUtilities.h
Reid Spencer
reid at x10sys.com
Sun Dec 12 19:15:58 PST 2004
Changes in directory llvm/include/llvm/Support:
FileUtilities.h updated: 1.20 -> 1.21
---
Log message:
Remove commented out functions that have been replaced with lib/System
functionality.
---
Diffs of the changes: (+0 -25)
Index: llvm/include/llvm/Support/FileUtilities.h
diff -u llvm/include/llvm/Support/FileUtilities.h:1.20 llvm/include/llvm/Support/FileUtilities.h:1.21
--- llvm/include/llvm/Support/FileUtilities.h:1.20 Sun Dec 12 20:57:41 2004
+++ llvm/include/llvm/Support/FileUtilities.h Sun Dec 12 21:15:47 2004
@@ -19,31 +19,6 @@
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);
-
-/// 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);
-
-/// 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);
-
-/// 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);
-
-/// FileOpenable - Returns true IFF Filename names an existing regular file
-/// which we can successfully open.
-///
-//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
/// for the error option, it will set the string to an error message if an error
More information about the llvm-commits
mailing list