clang  14.0.0git
Public Member Functions | List of all members
clang::tooling::dependencies::DependencyScanningFilesystemLocalCache Class Reference

This class is a local cache, that caches the 'stat' and 'open' calls to the underlying real file system. More...

#include "clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h"

Public Member Functions

void setCachedEntry (StringRef Filename, bool Minimized, const CachedFileSystemEntry *Entry)
 
const CachedFileSystemEntrygetCachedEntry (StringRef Filename, bool Minimized)
 

Detailed Description

This class is a local cache, that caches the 'stat' and 'open' calls to the underlying real file system.

It distinguishes between minimized and original files.

Definition at line 147 of file DependencyScanningFilesystem.h.

Member Function Documentation

◆ getCachedEntry()

const CachedFileSystemEntry* clang::tooling::dependencies::DependencyScanningFilesystemLocalCache::getCachedEntry ( StringRef  Filename,
bool  Minimized 
)
inline

Definition at line 168 of file DependencyScanningFilesystem.h.

References Filename.

◆ setCachedEntry()

void clang::tooling::dependencies::DependencyScanningFilesystemLocalCache::setCachedEntry ( StringRef  Filename,
bool  Minimized,
const CachedFileSystemEntry Entry 
)
inline

Definition at line 160 of file DependencyScanningFilesystem.h.

References Filename.


The documentation for this class was generated from the following file: