clang 20.0.0git
|
Abstract base class that writes a module file extension block into a module file. More...
#include "clang/Serialization/ModuleFileExtension.h"
Public Member Functions | |
virtual | ~ModuleFileExtensionWriter () |
ModuleFileExtension * | getExtension () const |
Retrieve the module file extension with which this writer is associated. | |
virtual void | writeExtensionContents (Sema &SemaRef, llvm::BitstreamWriter &Stream)=0 |
Write the contents of the extension block into the given bitstream. | |
Protected Member Functions | |
ModuleFileExtensionWriter (ModuleFileExtension *Extension) | |
Abstract base class that writes a module file extension block into a module file.
Definition at line 111 of file ModuleFileExtension.h.
|
inlineprotected |
Definition at line 115 of file ModuleFileExtension.h.
|
virtual |
Definition at line 18 of file ModuleFileExtension.cpp.
|
inline |
Retrieve the module file extension with which this writer is associated.
Definition at line 123 of file ModuleFileExtension.h.
|
pure virtual |
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.