summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-12 13:55:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-12 13:55:07 +0000
commitd5fd942ec34526bd11f903e6761744223fefab9c (patch)
tree1742ddf4f8cb3dc71bcef290a2fa7f92db679562 /llvm/lib/Support/Unix
parent11cb23a6f705008177e9a8ba0c9a0711915f0fe6 (diff)
downloadbcm5719-llvm-d5fd942ec34526bd11f903e6761744223fefab9c.tar.gz
bcm5719-llvm-d5fd942ec34526bd11f903e6761744223fefab9c.zip
Remove Path::makeExecutableOnDisk.
llvm-svn: 183826
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index f154bf62d01..201a7c9a669 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -459,12 +459,6 @@ bool Path::makeWriteableOnDisk(std::string* ErrMsg) {
return false;
}
-bool Path::makeExecutableOnDisk(std::string* ErrMsg) {
- if (!AddPermissionBits(*this, 0111))
- return MakeErrMsg(ErrMsg, path + ": can't make file executable");
- return false;
-}
-
bool
Path::getDirectoryContents(std::set<Path>& result, std::string* ErrMsg) const {
DIR* direntries = ::opendir(path.c_str());
OpenPOWER on IntegriCloud