clang 20.0.0git
Public Member Functions | List of all members
clang::PCHContainerOperations Class Reference

A registry of PCHContainerWriter and -Reader objects for different formats. More...

#include "clang/Serialization/PCHContainerOperations.h"

Public Member Functions

 PCHContainerOperations ()
 Automatically registers a RawPCHContainerWriter and RawPCHContainerReader.
 
void registerWriter (std::unique_ptr< PCHContainerWriter > Writer)
 
void registerReader (std::unique_ptr< PCHContainerReader > Reader)
 
const PCHContainerWritergetWriterOrNull (llvm::StringRef Format)
 
const PCHContainerReadergetReaderOrNull (llvm::StringRef Format)
 
const PCHContainerReadergetRawReader ()
 

Detailed Description

A registry of PCHContainerWriter and -Reader objects for different formats.

Definition at line 87 of file PCHContainerOperations.h.

Constructor & Destructor Documentation

◆ PCHContainerOperations()

PCHContainerOperations::PCHContainerOperations ( )

Automatically registers a RawPCHContainerWriter and RawPCHContainerReader.

Definition at line 68 of file PCHContainerOperations.cpp.

References registerReader(), and registerWriter().

Member Function Documentation

◆ getRawReader()

const PCHContainerReader & clang::PCHContainerOperations::getRawReader ( )
inline

Definition at line 112 of file PCHContainerOperations.h.

References getReaderOrNull().

◆ getReaderOrNull()

const PCHContainerReader * clang::PCHContainerOperations::getReaderOrNull ( llvm::StringRef  Format)
inline

Definition at line 109 of file PCHContainerOperations.h.

Referenced by getRawReader().

◆ getWriterOrNull()

const PCHContainerWriter * clang::PCHContainerOperations::getWriterOrNull ( llvm::StringRef  Format)
inline

Definition at line 106 of file PCHContainerOperations.h.

◆ registerReader()

void clang::PCHContainerOperations::registerReader ( std::unique_ptr< PCHContainerReader Reader)
inline

Definition at line 99 of file PCHContainerOperations.h.

Referenced by PCHContainerOperations().

◆ registerWriter()

void clang::PCHContainerOperations::registerWriter ( std::unique_ptr< PCHContainerWriter Writer)
inline

Definition at line 96 of file PCHContainerOperations.h.

Referenced by PCHContainerOperations().


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