diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-23 03:32:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-23 03:32:16 +0000 |
commit | 417c4d5b4a2537e2ee6152c6be27e003310afb8f (patch) | |
tree | a413cac108659887c17ca7c7f7900cfcaec5a965 /utils/fpcmp | |
parent | cf989fd2a37524995155b347ec52e90145618fd2 (diff) |
This method takes sys::Path objects now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/fpcmp')
-rw-r--r-- | utils/fpcmp/fpcmp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fpcmp/fpcmp.cpp b/utils/fpcmp/fpcmp.cpp index d7808dd6f0..cdaf95de61 100644 --- a/utils/fpcmp/fpcmp.cpp +++ b/utils/fpcmp/fpcmp.cpp @@ -33,8 +33,8 @@ int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv); std::string ErrorMsg; - int DF = DiffFilesWithTolerance(File1, File2, AbsTolerance, RelTolerance, - &ErrorMsg); + int DF = DiffFilesWithTolerance(sys::Path(File1), sys::Path(File2), + AbsTolerance, RelTolerance, &ErrorMsg); if (!ErrorMsg.empty()) std::cerr << argv[0] << ": " << ErrorMsg << "\n"; return DF; |