1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

Update for PathWithStatus

llvm-svn: 35745
This commit is contained in:
Reid Spencer 2007-04-07 19:49:35 +00:00
parent 845c291c87
commit 543d051aad

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