clang 20.0.0git
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/Serialization/PCHContainerOperations.h"

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

Public Member Functions

virtual ~PCHContainerWriter ()=0
 
virtual llvm::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.
 

Detailed Description

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

Definition at line 36 of file PCHContainerOperations.h.

Constructor & Destructor Documentation

◆ ~PCHContainerWriter()

PCHContainerWriter::~PCHContainerWriter ( )
pure virtual

Definition at line 20 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.

Referenced by clang::GeneratePCHAction::CreateASTConsumer(), and clang::GenerateModuleAction::CreateMultiplexConsumer().

◆ getFormat()

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

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