LLVM 20.0.0git
Classes | Namespaces | Functions
FileUtilities.h File Reference
#include "llvm/ADT/StringRef.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

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.