LLVM 22.0.0git
FileUtilities.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include <system_error>

Go to the source code of this file.

Classes

class  llvm::FileRemover
 FileRemover - This class is a simple object meant to be stack allocated. More...
class  llvm::FilePermissionsApplier
 FilePermssionsApplier helps to copy permissions from an input file to an output one. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

LLVM_ABI int llvm::DiffFilesWithTolerance (StringRef FileA, StringRef FileB, double AbsTol, double RelTol, std::string *Error=nullptr)
 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.