diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-18 21:10:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-18 21:10:03 +0000 |
commit | 2bf893664b28b7c4130a7d5ec3b340bb910b9d31 (patch) | |
tree | 2e272a57c063e21070347747adf39c2ce5cc74e6 /llvm/lib/Support/Unix | |
parent | fc92e8458636a98a4231d39fe803a9ea886764be (diff) | |
download | bcm5719-llvm-2bf893664b28b7c4130a7d5ec3b340bb910b9d31.tar.gz bcm5719-llvm-2bf893664b28b7c4130a7d5ec3b340bb910b9d31.zip |
Remove Path::canWrite.
llvm-svn: 184235
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 658b67460ce..fad2697cdb6 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -324,12 +324,6 @@ Path::isSymLink() const { return S_ISLNK(buf.st_mode); } - -bool -Path::canWrite() const { - return 0 == access(path.c_str(), W_OK); -} - bool Path::isRegularFile() const { // Get the status so we can determine if it's a file or directory |