clang  8.0.0svn
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. More...
 
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 91 of file PCHContainerOperations.h.

Constructor & Destructor Documentation

◆ PCHContainerOperations()

PCHContainerOperations::PCHContainerOperations ( )

Automatically registers a RawPCHContainerWriter and RawPCHContainerReader.

Definition at line 66 of file PCHContainerOperations.cpp.

Member Function Documentation

◆ getRawReader()

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

Definition at line 110 of file PCHContainerOperations.h.

◆ getReaderOrNull()

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

Definition at line 107 of file PCHContainerOperations.h.

◆ getWriterOrNull()

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

Definition at line 104 of file PCHContainerOperations.h.

◆ registerReader()

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

Definition at line 101 of file PCHContainerOperations.h.

◆ registerWriter()

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

Definition at line 98 of file PCHContainerOperations.h.


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