[llvm-commits] CVS: llvm/lib/Support/FileUtilities.cpp
Reid Spencer
reid at x10sys.com
Sat Apr 7 11:53:44 PDT 2007
Changes in directory llvm/lib/Support:
FileUtilities.cpp updated: 1.55 -> 1.56
---
Log message:
For PR1291: http://llvm.org/PR1291 :
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.
---
Diffs of the changes: (+2 -2)
FileUtilities.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Support/FileUtilities.cpp
diff -u llvm/lib/Support/FileUtilities.cpp:1.55 llvm/lib/Support/FileUtilities.cpp:1.56
--- llvm/lib/Support/FileUtilities.cpp:1.55 Thu Mar 29 14:05:44 2007
+++ llvm/lib/Support/FileUtilities.cpp Sat Apr 7 13:53:16 2007
@@ -148,8 +148,8 @@
/// error occurs, allowing the caller to distinguish between a failed diff and a
/// file system error.
///
-int llvm::DiffFilesWithTolerance(const sys::Path &FileA,
- const sys::Path &FileB,
+int llvm::DiffFilesWithTolerance(const sys::PathWithStatus &FileA,
+ const sys::PathWithStatus &FileB,
double AbsTol, double RelTol,
std::string *Error) {
const sys::FileStatus *FileAStat = FileA.getFileStatus(false, Error);
More information about the llvm-commits
mailing list