mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
New method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
304d0f3076
commit
fc54a35956
@ -28,6 +28,19 @@ namespace llvm {
|
||||
bool DiffFiles(const std::string &FileA, const std::string &FileB,
|
||||
std::string *Error = 0);
|
||||
|
||||
/// DiffFilesWithTolerance - Compare the two files specified, returning 0 if the
|
||||
/// files match, 1 if they are different, and 2 if there is a file error. This
|
||||
/// function differs from DiffFiles in that you can specify an absolete and
|
||||
/// relative FP error that is allowed to exist. If you specify a string to fill
|
||||
/// in for the error option, it will set the string to an error message if an
|
||||
/// error occurs, allowing the caller to distinguish between a failed diff and a
|
||||
/// file system error.
|
||||
///
|
||||
int DiffFilesWithTolerance(const std::string &FileA, const std::string &FileB,
|
||||
double AbsTol, double RelTol,
|
||||
std::string *Error = 0);
|
||||
|
||||
|
||||
/// MoveFileOverIfUpdated - If the file specified by New is different than Old,
|
||||
/// or if Old does not exist, move the New file over the Old file. Otherwise,
|
||||
/// remove the New file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user