Replace use of PathV1.h in Program.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-06-14 19:38:45 +00:00
parent 4ebf543b93
commit fcba9c56a2
6 changed files with 69 additions and 75 deletions

View File

@ -342,6 +342,12 @@ inline bool exists(const Twine &path) {
return !exists(path, result) && result;
}
/// @brief Can we execute this file?
///
/// @param Path Input path.
/// @returns True if we can execute it, false otherwise.
bool can_execute(const Twine &Path);
/// @brief Do file_status's represent the same thing?
///
/// @param A Input file_status.