summaryrefslogtreecommitdiffstats
path: root/llvm/utils/fpcmp/fpcmp.cpp
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
commite061303a9cc859dcc0053d4b4684c7d09ed554a9 (patch)
treeb94c1f15808f4487934063656359690bd2508c6c /llvm/utils/fpcmp/fpcmp.cpp
parent95b43e986ddb1554496881eb9d8ecdbca7b528f0 (diff)
downloadbcm5719-llvm-e061303a9cc859dcc0053d4b4684c7d09ed554a9.tar.gz
bcm5719-llvm-e061303a9cc859dcc0053d4b4684c7d09ed554a9.zip
Update for PathWithStatus
llvm-svn: 35745
Diffstat (limited to 'llvm/utils/fpcmp/fpcmp.cpp')
-rw-r--r--llvm/utils/fpcmp/fpcmp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/fpcmp/fpcmp.cpp b/llvm/utils/fpcmp/fpcmp.cpp
index 913fde50e53..18b96113340 100644
--- a/llvm/utils/fpcmp/fpcmp.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud