[llvm-commits] CVS: llvm/lib/Support/SystemUtils.cpp

Reid Spencer reid at x10sys.com
Thu Jul 7 11:21:57 PDT 2005



Changes in directory llvm/lib/Support:

SystemUtils.cpp updated: 1.43 -> 1.44
---
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)

 SystemUtils.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Support/SystemUtils.cpp
diff -u llvm/lib/Support/SystemUtils.cpp:1.43 llvm/lib/Support/SystemUtils.cpp:1.44
--- llvm/lib/Support/SystemUtils.cpp:1.43	Tue May 10 17:03:50 2005
+++ llvm/lib/Support/SystemUtils.cpp	Thu Jul  7 13:21:42 2005
@@ -48,7 +48,7 @@
   Result.elideFile();
   if (!Result.isEmpty()) {
     Result.appendFile(ExeName);
-    if (Result.executable())
+    if (Result.canExecute())
       return Result;
   }
 






More information about the llvm-commits mailing list