summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
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
commit3025f2366fd1b4e57f17110be39e352d52267b2c (patch)
tree9e4d343b76feb67d04173fef7ae7f183fc53752a /llvm/lib/Support/Unix
parent7d6c62523508e168fd174a02fdbad2973da6228d (diff)
downloadbcm5719-llvm-3025f2366fd1b4e57f17110be39e352d52267b2c.tar.gz
bcm5719-llvm-3025f2366fd1b4e57f17110be39e352d52267b2c.zip
Remove unused Path::canRead.
llvm-svn: 184229
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index 02f2fb12544..658b67460ce 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -326,11 +326,6 @@ Path::isSymLink() const {
bool
-Path::canRead() const {
- return 0 == access(path.c_str(), R_OK);
-}
-
-bool
Path::canWrite() const {
return 0 == access(path.c_str(), W_OK);
}
OpenPOWER on IntegriCloud