summaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-18 20:42:25 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-18 20:42:25 +0000
commitf3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8 (patch)
tree4bba648efa792859c6d8a7da0a4426e2aceed237 /lib/Support/Windows/Path.inc
parentef2d9e31940fc3121646e15effdfcc8f7f5e239b (diff)
downloadllvm-f3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8.tar.gz
llvm-f3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8.tar.bz2
llvm-f3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8.tar.xz
Remove unused Path::canRead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184229 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 1e453d01ee..7fe64f68e2 100644
--- a/lib/Support/Windows/Path.inc
+++ b/lib/Support/Windows/Path.inc
@@ -244,13 +244,6 @@ Path::isSymLink() const {
}
bool
-Path::canRead() const {
- // FIXME: take security attributes into account.
- DWORD attr = GetFileAttributes(path.c_str());
- return attr != INVALID_FILE_ATTRIBUTES;
-}
-
-bool
Path::canWrite() const {
// FIXME: take security attributes into account.
DWORD attr = GetFileAttributes(path.c_str());