diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-07-07 18:21:42 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-07-07 18:21:42 +0000 |
commit | 5b891e98471ec8a21e3cd2182a322c77aad200bb (patch) | |
tree | 41dd8e6fcd6d4347ca4ed7e22e8f52386e0a0d39 /llvm/lib/Support | |
parent | 2e81f65eb8c066ceb7f7eaa88abc37069ef4bc56 (diff) | |
download | bcm5719-llvm-5b891e98471ec8a21e3cd2182a322c77aad200bb.tar.gz bcm5719-llvm-5b891e98471ec8a21e3cd2182a322c77aad200bb.zip |
For PR495:
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/SystemUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp index 97ae156bdd4..77c97f3111d 100644 --- a/llvm/lib/Support/SystemUtils.cpp +++ b/llvm/lib/Support/SystemUtils.cpp @@ -48,7 +48,7 @@ sys::Path llvm::FindExecutable(const std::string &ExeName, Result.elideFile(); if (!Result.isEmpty()) { Result.appendFile(ExeName); - if (Result.executable()) + if (Result.canExecute()) return Result; } |