aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-07 19:49:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-07 19:49:35 +0000
commit8e27acf48945980380679fddd86d611e3d614e36 (patch)
tree0f0616391d5d3fbefffc0b1aec3d43e48298b4c4 /utils
parent44218f9a7e328a0428ffb16f24b567328528122d (diff)
Update for PathWithStatus
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/fpcmp/fpcmp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/fpcmp/fpcmp.cpp b/utils/fpcmp/fpcmp.cpp
index 913fde50e5..18b9611334 100644
--- a/utils/fpcmp/fpcmp.cpp
+++ b/utils/fpcmp/fpcmp.cpp
@@ -33,7 +33,8 @@ int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv);
std::string ErrorMsg;
- int DF = DiffFilesWithTolerance(sys::Path(File1), sys::Path(File2),
+ int DF = DiffFilesWithTolerance(sys::PathWithStatus(File1),
+ sys::PathWithStatus(File2),
AbsTolerance, RelTolerance, &ErrorMsg);
if (!ErrorMsg.empty())
std::cerr << argv[0] << ": " << ErrorMsg << "\n";