summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-29 16:48:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-29 16:48:16 +0000
commit78b899f665df76357742c9036cf959c80ba098a7 (patch)
treea545b34bb9f2a44f106735b9b7f3da9e4dd1e69f /llvm/lib/Support
parent0f92f0e5190136660d02c32bb3cb20961bf38728 (diff)
downloadbcm5719-llvm-78b899f665df76357742c9036cf959c80ba098a7.tar.gz
bcm5719-llvm-78b899f665df76357742c9036cf959c80ba098a7.zip
For PR789:
Updates for change in interface of getFileStatus method of sys::Path class. llvm-svn: 35458
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 adee22d3191..a0cdf09deec 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/lib/Support/FileUtilities.cpp
@@ -153,9 +153,9 @@ int llvm::DiffFilesWithTolerance(const sys::Path &FileA,
double AbsTol, double RelTol,
std::string *Error) {
sys::FileStatus FileAStat, FileBStat;
- if (FileA.getFileStatus(FileAStat, Error))
+ if (FileA.getFileStatus(FileAStat, false, Error))
return 2;
- if (FileB.getFileStatus(FileBStat, Error))
+ if (FileB.getFileStatus(FileBStat, false, Error))
return 2;
// Check for zero length files because some systems croak when you try to
OpenPOWER on IntegriCloud