summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-07 18:21:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-07 18:21:42 +0000
commit5b891e98471ec8a21e3cd2182a322c77aad200bb (patch)
tree41dd8e6fcd6d4347ca4ed7e22e8f52386e0a0d39 /llvm/lib/Linker/Linker.cpp
parent2e81f65eb8c066ceb7f7eaa88abc37069ef4bc56 (diff)
downloadbcm5719-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/Linker/Linker.cpp')
-rw-r--r--llvm/lib/Linker/Linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp
index e09c7885930..33717403938 100644
--- a/llvm/lib/Linker/Linker.cpp
+++ b/llvm/lib/Linker/Linker.cpp
@@ -153,7 +153,7 @@ Linker::FindLib(const std::string &Filename)
{
// Determine if the pathname can be found as it stands.
sys::Path FilePath(Filename);
- if (FilePath.readable() &&
+ if (FilePath.canRead() &&
(FilePath.isArchive() || FilePath.isDynamicLibrary()))
return FilePath;
OpenPOWER on IntegriCloud