From c7f083297cd796c2fadb534307e4ef406fd68945 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 7 Jul 2005 18:21:42 +0000 Subject: For PR495: Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22345 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Debugger/ProgramInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Debugger/ProgramInfo.cpp') diff --git a/lib/Debugger/ProgramInfo.cpp b/lib/Debugger/ProgramInfo.cpp index a702829c12..144cfeb2b3 100644 --- a/lib/Debugger/ProgramInfo.cpp +++ b/lib/Debugger/ProgramInfo.cpp @@ -174,7 +174,7 @@ SourceFile &SourceFileInfo::getSourceText() const { if (!Directory.empty()) tmpPath.setDirectory(Directory); tmpPath.appendFile(BaseName); - if (tmpPath.readable()) + if (tmpPath.canRead()) SourceText = new SourceFile(tmpPath.toString(), Descriptor); else SourceText = new SourceFile(BaseName, Descriptor); -- cgit v1.2.3-18-g5258