class TestModuleFileExtension::Writer
Declaration
class TestModuleFileExtension::Writer
: public ModuleFileExtensionWriter { /* full declaration omitted */ };
Description
Abstract base class that writes a module file extension block into a module file.
Declared at: clang/lib/Frontend/TestModuleFileExtension.h:28
Inherits from: ModuleFileExtensionWriter
Member Variables
Method Overview
- public Writer(clang::ModuleFileExtension * Ext)
- public void writeExtensionContents(clang::Sema & SemaRef, llvm::BitstreamWriter & Stream)
- public ~Writer()
Inherited from ModuleFileExtensionWriter:
Methods
¶Writer(clang::ModuleFileExtension* Ext)
Writer(clang::ModuleFileExtension* Ext)
Declared at: clang/lib/Frontend/TestModuleFileExtension.h:30
Parameters
¶void writeExtensionContents(
clang::Sema& SemaRef,
llvm::BitstreamWriter& Stream)
void writeExtensionContents(
clang::Sema& SemaRef,
llvm::BitstreamWriter& Stream)
Description
Write the contents of the extension block into the given bitstream. Responsible for writing the contents of the extension into the given stream. All of the contents should be written into custom records with IDs >= FIRST_EXTENSION_RECORD_ID.
Declared at: clang/lib/Frontend/TestModuleFileExtension.h:33
Parameters
- clang::Sema& SemaRef
- llvm::BitstreamWriter& Stream
¶~Writer()
~Writer()
Declared at: clang/lib/Frontend/TestModuleFileExtension.h:31