This method takes sys::Path objects now.
authorChris Lattner <sabre@nondot.org>
Sun, 23 Jan 2005 03:32:16 +0000 (03:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Jan 2005 03:32:16 +0000 (03:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19773 91177308-0d34-0410-b5e6-96231b3b80d8

utils/fpcmp/fpcmp.cpp

index d7808dd6f006cb3663534da76a0b366af53b1fcf..cdaf95de61e99db5d1b5ca4f8eac287a7fd15822 100644 (file)
@@ -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;