clang  6.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/Frontend/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 (StringRef Format)
 
const PCHContainerReadergetReaderOrNull (StringRef Format)
 
const PCHContainerReadergetRawReader ()
 

Detailed Description

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

Definition at line 93 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 112 of file PCHContainerOperations.h.

◆ getReaderOrNull()

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

Definition at line 109 of file PCHContainerOperations.h.

◆ getWriterOrNull()

const PCHContainerWriter* clang::PCHContainerOperations::getWriterOrNull ( 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 103 of file PCHContainerOperations.h.

◆ registerWriter()

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

Definition at line 100 of file PCHContainerOperations.h.


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