clang 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::PrecompiledPreamble::PCHStorage Class Reference

Public Types

enum class  Kind
 

Public Member Functions

Kind getKind () const
 
llvm::StringRef filePath () const
 
llvm::StringRef memoryContents () const
 
void shrink ()
 

Static Public Member Functions

static std::unique_ptr< PCHStoragefile (std::unique_ptr< TempPCHFile > File)
 
static std::unique_ptr< PCHStorageinMemory (std::shared_ptr< PCHBuffer > Buf)
 

Detailed Description

Definition at line 359 of file PrecompiledPreamble.cpp.

Member Enumeration Documentation

◆ Kind

Definition at line 373 of file PrecompiledPreamble.cpp.

Member Function Documentation

◆ file()

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

Definition at line 361 of file PrecompiledPreamble.cpp.

References clang::File.

Referenced by clang::PrecompiledPreamble::Build().

◆ filePath()

llvm::StringRef clang::PrecompiledPreamble::PCHStorage::filePath ( ) const
inline

◆ getKind()

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

◆ inMemory()

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

Definition at line 367 of file PrecompiledPreamble.cpp.

Referenced by clang::PrecompiledPreamble::Build().

◆ memoryContents()

llvm::StringRef clang::PrecompiledPreamble::PCHStorage::memoryContents ( ) const
inline

◆ shrink()

void clang::PrecompiledPreamble::PCHStorage::shrink ( )
inline

Definition at line 393 of file PrecompiledPreamble.cpp.


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