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

Inherited from ModuleFileExtensionWriter:

Methods

Writer(clang::ModuleFileExtension* Ext)

Declared at: clang/lib/Frontend/TestModuleFileExtension.h:30

Parameters

clang::ModuleFileExtension* Ext

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()

Declared at: clang/lib/Frontend/TestModuleFileExtension.h:31