summaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-19 13:25:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-19 13:25:31 +0000
commitf6f3be69d81e8e41f90de9913738a9ba11190221 (patch)
treeb06ff195ace9989a56226d2c95468a5c38342127 /lib/Support/Windows/Path.inc
parentdd5fe2ffc6f564192876065d2617ecbc18d03f23 (diff)
downloadllvm-f6f3be69d81e8e41f90de9913738a9ba11190221.tar.gz
llvm-f6f3be69d81e8e41f90de9913738a9ba11190221.tar.bz2
llvm-f6f3be69d81e8e41f90de9913738a9ba11190221.tar.xz
Remove Path::canExecute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Path.inc')
-rw-r--r--lib/Support/Windows/Path.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc
index de33fdbc6f..6b1e0f2bac 100644
--- a/lib/Support/Windows/Path.inc
+++ b/lib/Support/Windows/Path.inc
@@ -244,13 +244,6 @@ Path::isSymLink() const {
}
bool
-Path::canExecute() const {
- // FIXME: take security attributes into account.
- DWORD attr = GetFileAttributes(path.c_str());
- return attr != INVALID_FILE_ATTRIBUTES;
-}
-
-bool
Path::isRegularFile() const {
bool res;
if (fs::is_regular_file(path, res))