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

Brian Gaeke gaeke at cs.uiuc.edu
Tue Nov 11 12:28:06 PST 2003


Changes in directory llvm/include/Support:

FileUtilities.h updated: 1.5 -> 1.6

---
Log message:

 VS: ----------------------------------------------------------------------
Add prototype for FileOpenable().


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

Index: llvm/include/Support/FileUtilities.h
diff -u llvm/include/Support/FileUtilities.h:1.5 llvm/include/Support/FileUtilities.h:1.6
--- llvm/include/Support/FileUtilities.h:1.5	Mon Oct 20 14:46:57 2003
+++ llvm/include/Support/FileUtilities.h	Tue Nov 11 12:27:11 2003
@@ -17,6 +17,11 @@
 
 #include <string>
 
+/// 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