LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::remarks::YAMLStrTabMetaSerializer Struct Reference

#include "llvm/Remarks/YAMLRemarkSerializer.h"

Inheritance diagram for llvm::remarks::YAMLStrTabMetaSerializer:
Inheritance graph
[legend]

Public Member Functions

 YAMLStrTabMetaSerializer (raw_ostream &OS, std::optional< StringRef > ExternalFilename, const StringTable &StrTab)
 
void emit () override
 
- Public Member Functions inherited from llvm::remarks::YAMLMetaSerializer
 YAMLMetaSerializer (raw_ostream &OS, std::optional< StringRef > ExternalFilename)
 
void emit () override
 
- Public Member Functions inherited from llvm::remarks::MetaSerializer
 MetaSerializer (raw_ostream &OS)
 
virtual ~MetaSerializer ()=default
 This is just an interface.
 
virtual void emit ()=0
 

Public Attributes

const StringTableStrTab
 The string table is part of the metadata.
 
- Public Attributes inherited from llvm::remarks::YAMLMetaSerializer
std::optional< StringRefExternalFilename
 
- Public Attributes inherited from llvm::remarks::MetaSerializer
raw_ostreamOS
 The open raw_ostream that the metadata is emitted to.
 

Detailed Description

Definition at line 94 of file YAMLRemarkSerializer.h.

Constructor & Destructor Documentation

◆ YAMLStrTabMetaSerializer()

llvm::remarks::YAMLStrTabMetaSerializer::YAMLStrTabMetaSerializer ( raw_ostream OS,
std::optional< StringRef ExternalFilename,
const StringTable StrTab 
)
inline

Definition at line 98 of file YAMLRemarkSerializer.h.

Member Function Documentation

◆ emit()

void YAMLStrTabMetaSerializer::emit ( )
overridevirtual

Member Data Documentation

◆ StrTab

const StringTable& llvm::remarks::YAMLStrTabMetaSerializer::StrTab

The string table is part of the metadata.

Definition at line 96 of file YAMLRemarkSerializer.h.

Referenced by emit().


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