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

#include "llvm/Remarks/YAMLRemarkSerializer.h"

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

Public Member Functions

 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

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 56 of file YAMLRemarkSerializer.h.

Constructor & Destructor Documentation

◆ YAMLMetaSerializer()

llvm::remarks::YAMLMetaSerializer::YAMLMetaSerializer ( raw_ostream OS,
std::optional< StringRef ExternalFilename 
)
inline

Definition at line 59 of file YAMLRemarkSerializer.h.

Member Function Documentation

◆ emit()

void YAMLMetaSerializer::emit ( )
overridevirtual

Member Data Documentation

◆ ExternalFilename

std::optional<StringRef> llvm::remarks::YAMLMetaSerializer::ExternalFilename

Definition at line 57 of file YAMLRemarkSerializer.h.

Referenced by emit(), and llvm::remarks::YAMLStrTabMetaSerializer::emit().


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