struct DependencyScanningWorkerFilesystem::TentativeEntry

Declaration

struct DependencyScanningWorkerFilesystem::TentativeEntry { /* full declaration omitted */ };

Description

Represents a filesystem entry that has been stat-ed (and potentially read) and that's about to be inserted into the cache as `CachedFileSystemEntry`.

Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h:317

Member Variables

public llvm::vfs::Status Status
public std::unique_ptr<llvm::MemoryBuffer> Contents

Method Overview

  • public TentativeEntry(llvm::vfs::Status Status, std::unique_ptr<llvm::MemoryBuffer> Contents = nullptr)

Methods

ΒΆTentativeEntry(llvm::vfs::Status Status,
               std::unique_ptr<llvm::MemoryBuffer>
                   Contents = nullptr)

Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h:321

Parameters

llvm::vfs::Status Status
std::unique_ptr<llvm::MemoryBuffer> Contents = nullptr