mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Update for PathWithStatus
llvm-svn: 35745
This commit is contained in:
parent
845c291c87
commit
543d051aad
@ -33,7 +33,8 @@ int main(int argc, char **argv) {
|
|||||||
cl::ParseCommandLineOptions(argc, argv);
|
cl::ParseCommandLineOptions(argc, argv);
|
||||||
|
|
||||||
std::string ErrorMsg;
|
std::string ErrorMsg;
|
||||||
int DF = DiffFilesWithTolerance(sys::Path(File1), sys::Path(File2),
|
int DF = DiffFilesWithTolerance(sys::PathWithStatus(File1),
|
||||||
|
sys::PathWithStatus(File2),
|
||||||
AbsTolerance, RelTolerance, &ErrorMsg);
|
AbsTolerance, RelTolerance, &ErrorMsg);
|
||||||
if (!ErrorMsg.empty())
|
if (!ErrorMsg.empty())
|
||||||
std::cerr << argv[0] << ": " << ErrorMsg << "\n";
|
std::cerr << argv[0] << ": " << ErrorMsg << "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user