diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/Support/FileUtilities.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/Support/FileUtilities.h b/llvm/include/Support/FileUtilities.h index 0323ffac9fe..d55ba52a98a 100644 --- a/llvm/include/Support/FileUtilities.h +++ b/llvm/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 |