class PrecompiledPreamble::PCHStorage

Declaration

class PrecompiledPreamble::PCHStorage { /* full declaration omitted */ };

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:346

Member Variables

private std::shared_ptr<PCHBuffer> Memory
private std::unique_ptr<TempPCHFile> File

Method Overview

  • private PCHStorage()
  • private PCHStorage(const clang::PrecompiledPreamble::PCHStorage &)
  • public static std::unique_ptr<PCHStorage> file(std::unique_ptr<TempPCHFile> File)
  • public llvm::StringRef filePath() const
  • public clang::PrecompiledPreamble::PCHStorage::Kind getKind() const
  • public static std::unique_ptr<PCHStorage> inMemory(std::shared_ptr<PCHBuffer> Buf)
  • public llvm::StringRef memoryContents() const
  • public void shrink()

Methods

PCHStorage()

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:387

PCHStorage(
    const clang::PrecompiledPreamble::PCHStorage&)

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:388

Parameters

const clang::PrecompiledPreamble::PCHStorage&

static std::unique_ptr<PCHStorage> file(
    std::unique_ptr<TempPCHFile> File)

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:348

Parameters

std::unique_ptr<TempPCHFile> File

llvm::StringRef filePath() const

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:368

clang::PrecompiledPreamble::PCHStorage::Kind
getKind() const

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:361

static std::unique_ptr<PCHStorage> inMemory(
    std::shared_ptr<PCHBuffer> Buf)

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:354

Parameters

std::shared_ptr<PCHBuffer> Buf

llvm::StringRef memoryContents() const

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:372

void shrink()

Declared at: clang/lib/Frontend/PrecompiledPreamble.cpp:380