A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1FileSystemStatCache.html below:

clang: clang::FileSystemStatCache Class Reference

Abstract interface for introducing a FileManager cache for 'stat' system calls, which is used by precompiled and pretokenized headers to improve performance. More...

#include "clang/Basic/FileSystemStatCache.h"

static std::error_code  get (StringRef Path, llvm::vfs::Status &Status, bool isFile, std::unique_ptr< llvm::vfs::File > *F, FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS, bool IsText=true)   Get the 'stat' information for the specified path, using the cache to accelerate it if possible.
  virtual std::error_code  getStat (StringRef Path, llvm::vfs::Status &Status, bool isFile, std::unique_ptr< llvm::vfs::File > *F, llvm::vfs::FileSystem &FS)=0  

Abstract interface for introducing a FileManager cache for 'stat' system calls, which is used by precompiled and pretokenized headers to improve performance.

Definition at line 35 of file FileSystemStatCache.h.

◆ ~FileSystemStatCache() virtual clang::FileSystemStatCache::~FileSystemStatCache ( ) virtualdefault ◆ get() std::error_code FileSystemStatCache::get ( StringRef  Path, llvm::vfs::Status &  Status, bool  isFile, std::unique_ptr< llvm::vfs::File > *  F, FileSystemStatCacheCache, llvm::vfs::FileSystem &  FS, bool  IsText = true  ) static

Get the 'stat' information for the specified path, using the cache to accelerate it if possible.

FileSystemStatCache::get - Get the 'stat' information for the specified path, using the cache to accelerate it if possible.

Returns
true if the path does not exist or false if it exists.

If isFile is true, then this lookup should only return success for files (not directories). If it is false this lookup should only return success for directories (not files). On a successful file lookup, the implementation can optionally fill in F with a valid File object and the client guarantees that it will close it.

This returns true if the path does not exist or false if it exists.

If isFile is true, then this lookup should only return success for files (not directories). If it is false this lookup should only return success for directories (not files). On a successful file lookup, the implementation can optionally fill in FileDescriptor with a valid descriptor and the client guarantees that it will close it.

Definition at line 33 of file FileSystemStatCache.cpp.

References Path.

Referenced by clang::MemorizeStatCalls::getStat().

◆ getStat() virtual std::error_code clang::FileSystemStatCache::getStat ( StringRef  Path, llvm::vfs::Status &  Status, bool  isFile, std::unique_ptr< llvm::vfs::File > *  F, llvm::vfs::FileSystem &  FS  ) protectedpure virtual

Implemented in clang::MemorizeStatCalls.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4