clang  6.0.0svn
Public Member Functions | List of all members
clang::PCHContainerWriter Class Referenceabstract

This abstract interface provides operations for creating containers for serialized ASTs (precompiled headers and clang modules). More...

#include "clang/Frontend/PCHContainerOperations.h"

Inheritance diagram for clang::PCHContainerWriter:
Inheritance graph
[legend]

Public Member Functions

virtual ~PCHContainerWriter ()=0
 
virtual StringRef getFormat () const =0
 
virtual std::unique_ptr< ASTConsumerCreatePCHContainerGenerator (CompilerInstance &CI, const std::string &MainFileName, const std::string &OutputFileName, std::unique_ptr< llvm::raw_pwrite_stream > OS, std::shared_ptr< PCHBuffer > Buffer) const =0
 Return an ASTConsumer that can be chained with a PCHGenerator that produces a wrapper file format containing a serialized AST bitstream. More...
 

Detailed Description

This abstract interface provides operations for creating containers for serialized ASTs (precompiled headers and clang modules).

Definition at line 41 of file PCHContainerOperations.h.

Constructor & Destructor Documentation

◆ ~PCHContainerWriter()

PCHContainerWriter::~PCHContainerWriter ( )
pure virtual

Definition at line 23 of file PCHContainerOperations.cpp.

Member Function Documentation

◆ CreatePCHContainerGenerator()

virtual std::unique_ptr<ASTConsumer> clang::PCHContainerWriter::CreatePCHContainerGenerator ( CompilerInstance CI,
const std::string &  MainFileName,
const std::string &  OutputFileName,
std::unique_ptr< llvm::raw_pwrite_stream >  OS,
std::shared_ptr< PCHBuffer Buffer 
) const
pure virtual

Return an ASTConsumer that can be chained with a PCHGenerator that produces a wrapper file format containing a serialized AST bitstream.

◆ getFormat()

virtual StringRef clang::PCHContainerWriter::getFormat ( ) const
pure virtual

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