Update for PathWithStatus

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35745 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-04-07 19:49:35 +00:00
parent 44218f9a7e
commit 8e27acf489

View File

@ -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";