clang  3.9.0
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 <PCHContainerOperations.h>

Inheritance diagram for clang::PCHContainerReader:
[legend]

Public Member Functions

virtual ~PCHContainerReader ()=0
 
virtual StringRef getFormat () const =0
 Equivalent to the format passed to -fmodule-format=. More...
 
virtual void ExtractPCH (llvm::MemoryBufferRef Buffer, llvm::BitstreamReader &StreamFile) const =0
 Initialize an llvm::BitstreamReader with 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 ( )
pure virtual

Definition at line 24 of file PCHContainerOperations.cpp.

Member Function Documentation

virtual void clang::PCHContainerReader::ExtractPCH ( llvm::MemoryBufferRef  Buffer,
llvm::BitstreamReader &  StreamFile 
) const
pure virtual

Initialize an llvm::BitstreamReader with the serialized AST inside the PCH container Buffer.

Referenced by clang::serialization::ModuleManager::addModule(), clang::ASTReader::getOriginalSourceFile(), and clang::ASTReader::readASTFileControlBlock().

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: