Lines Matching defs:FileManager
1 //===--- FileManager.cpp - File System Probing and Caching ----------------===//
10 // This file implements the FileManager interface.
20 #include "clang/Basic/FileManager.h"
49 FileManager::FileManager(const FileSystemOptions &FSO,
62 FileManager::~FileManager() = default;
64 void FileManager::addStatCache(std::unique_ptr<FileSystemStatCache> statCache,
80 void FileManager::removeStatCache(FileSystemStatCache *statCache) {
99 void FileManager::clearStatCaches() {
105 static const DirectoryEntry *getDirectoryFromFile(FileManager &FileMgr,
124 void FileManager::addAncestorsAsVirtualDirs(StringRef Path) {
149 const DirectoryEntry *FileManager::getDirectory(StringRef DirName,
213 const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
320 FileManager::getVirtualFile(StringRef Filename, off_t Size,
388 bool FileManager::FixupRelativePath(SmallVectorImpl<char> &path) const {
401 bool FileManager::makeAbsolutePath(SmallVectorImpl<char> &Path) const {
413 FileManager::getBufferForFile(const FileEntry *Entry, bool isVolatile,
447 FileManager::getBufferForFile(StringRef Filename) {
461 bool FileManager::getStatValue(const char *Path, FileData &Data, bool isFile,
475 bool FileManager::getNoncachedStatValue(StringRef Path,
487 void FileManager::invalidateCache(const FileEntry *Entry) {
499 void FileManager::GetUniqueIDMapping(
517 void FileManager::modifyFileEntry(FileEntry *File,
523 StringRef FileManager::getCanonicalName(const DirectoryEntry *Dir) {
554 void FileManager::PrintStats() const {