[llvm-commits] CVS: llvm/include/llvm/Support/FileUtilities.h

Reid Spencer reid at x10sys.com
Sun Dec 12 18:57:52 PST 2004



Changes in directory llvm/include/llvm/Support:

FileUtilities.h updated: 1.19 -> 1.20
---
Log message:

For PR351: http://llvm.cs.uiuc.edu/PR351 :Remove the file type checking methods (now in sys::Path)

---
Diffs of the changes:  (+5 -5)

Index: llvm/include/llvm/Support/FileUtilities.h
diff -u llvm/include/llvm/Support/FileUtilities.h:1.19 llvm/include/llvm/Support/FileUtilities.h:1.20
--- llvm/include/llvm/Support/FileUtilities.h:1.19	Wed Sep  1 17:55:35 2004
+++ llvm/include/llvm/Support/FileUtilities.h	Sun Dec 12 20:57:41 2004
@@ -22,27 +22,27 @@
 /// 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






More information about the llvm-commits mailing list