LLVM  16.0.0git
Classes | Namespaces | Functions
FileCollector.cpp File Reference
#include "llvm/Support/FileCollector.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
Include dependency graph for FileCollector.cpp:

Go to the source code of this file.

Classes

class  llvm::FileCollectorFileSystem
 

Namespaces

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

Functions

static bool isCaseSensitivePath (StringRef Path)
 
static void makeAbsolute (SmallVectorImpl< char > &Path)
 Make Path absolute. More...
 
static std::error_code copyAccessAndModificationTime (StringRef Filename, const sys::fs::file_status &Stat)
 Set the access and modification time for the given file from the given status object. More...
 

Function Documentation

◆ copyAccessAndModificationTime()

static std::error_code copyAccessAndModificationTime ( StringRef  Filename,
const sys::fs::file_status Stat 
)
static

Set the access and modification time for the given file from the given status object.

Definition at line 160 of file FileCollector.cpp.

◆ isCaseSensitivePath()

static bool isCaseSensitivePath ( StringRef  Path)
static

Definition at line 34 of file FileCollector.cpp.

References llvm::sys::fs::real_path().

Referenced by llvm::FileCollector::writeMapping().

◆ makeAbsolute()

static void makeAbsolute ( SmallVectorImpl< char > &  Path)
static