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

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

#include "clang/Frontend/PCHContainerOperations.h"

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

Public Member Functions

virtual ~PCHContainerReader ()=0
 
virtual StringRef getFormat () const =0
 Equivalent to the format passed to -fmodule-format=. More...
 
virtual StringRef ExtractPCH (llvm::MemoryBufferRef Buffer) const =0
 Returns the serialized AST inside the PCH container Buffer. More...
 

Detailed Description

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

Definition at line 60 of file PCHContainerOperations.h.

Constructor & Destructor Documentation

◆ ~PCHContainerReader()

PCHContainerReader::~PCHContainerReader ( )
pure virtual

Definition at line 24 of file PCHContainerOperations.cpp.

Member Function Documentation

◆ ExtractPCH()

virtual StringRef clang::PCHContainerReader::ExtractPCH ( llvm::MemoryBufferRef  Buffer) const
pure virtual

Returns the serialized AST inside the PCH container Buffer.

◆ getFormat()

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

Equivalent to the format passed to -fmodule-format=.

Referenced by clang::ASTUnit::LoadFromASTFile().


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