diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-11 18:27:11 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-11 18:27:11 +0000 |
commit | 6a9127ec00fe0bdcb6aa78247093f318e87927ed (patch) | |
tree | 9404fbebe88a5b102356c751aeda84be12541726 | |
parent | fa33a1323252b55724f74f279317dd8ea72e7230 (diff) |
VS: ----------------------------------------------------------------------
Add prototype for FileOpenable().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9891 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/Support/FileUtilities.h | 5 | ||||
-rw-r--r-- | include/llvm/Support/FileUtilities.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Support/FileUtilities.h b/include/Support/FileUtilities.h index 0323ffac9f..d55ba52a98 100644 --- a/include/Support/FileUtilities.h +++ b/include/Support/FileUtilities.h @@ -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 diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h index 0323ffac9f..d55ba52a98 100644 --- a/include/llvm/Support/FileUtilities.h +++ b/include/llvm/Support/FileUtilities.h @@ -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 |