summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-07 18:53:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-07 18:53:16 +0000
commit21b76a9b9915202c9c4084072357b7ed32e60f9d (patch)
tree59b639d250e081baf03dca1815d0168713f26ada /llvm/lib/Support
parentceeb918dd105248af4b7c3ba4ffcd4b582ea4daf (diff)
downloadbcm5719-llvm-21b76a9b9915202c9c4084072357b7ed32e60f9d.tar.gz
bcm5719-llvm-21b76a9b9915202c9c4084072357b7ed32e60f9d.zip
For PR1291:
Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/FileUtilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index 1ea5ddada9e..1736b0d5c31 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/lib/Support/FileUtilities.cpp
@@ -148,8 +148,8 @@ static void PadFileIfNeeded(char *&FileStart, char *&FileEnd, char *&FP) {
/// 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);
OpenPOWER on IntegriCloud