[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp
Reid Spencer
reid at x10sys.com
Thu Jul 7 11:21:57 PDT 2005
Changes in directory llvm/lib/Debugger:
ProgramInfo.cpp updated: 1.10 -> 1.11
---
Log message:
For PR495: http://llvm.cs.uiuc.edu/PR495 :
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
---
Diffs of the changes: (+1 -1)
ProgramInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Debugger/ProgramInfo.cpp
diff -u llvm/lib/Debugger/ProgramInfo.cpp:1.10 llvm/lib/Debugger/ProgramInfo.cpp:1.11
--- llvm/lib/Debugger/ProgramInfo.cpp:1.10 Thu Apr 21 17:36:21 2005
+++ llvm/lib/Debugger/ProgramInfo.cpp Thu Jul 7 13:21:42 2005
@@ -174,7 +174,7 @@
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);
More information about the llvm-commits
mailing list