projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove Path::canWrite.
[oota-llvm.git]
/
lib
/
Support
/
Unix
/
Path.inc
diff --git
a/lib/Support/Unix/Path.inc
b/lib/Support/Unix/Path.inc
index 658b67460cec5103d68a39e43e0018e294bc9367..fad2697cdb6abbf9108e18affdc5f5f52a114c95 100644
(file)
--- a/
lib/Support/Unix/Path.inc
+++ b/
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