LLVM: llvm::remarks::RemarkSerializer Struct Reference (original) (raw)

This is the base class for a remark serializer. More...

#include "[llvm/Remarks/RemarkSerializer.h](RemarkSerializer%5F8h%5Fsource.html)"

Public Member Functions
RemarkSerializer (Format SerializerFormat, raw_ostream &OS)
virtual ~RemarkSerializer ()=default
virtual void finalize ()
Finalize remark emission (e.g.
virtual void emit (const Remark &Remark)=0
Emit a remark to the stream.
virtual std::unique_ptr< MetaSerializer > metaSerializer (raw_ostream &OS, StringRef ExternalFilename)=0
Return the corresponding metadata serializer.
Public Attributes
Format SerializerFormat
The format of the serializer.
raw_ostream & OS
The open raw_ostream that the remark diagnostics are emitted to.
std::optional< StringTable > StrTab
The string table containing all the unique strings used in the output.

This is the base class for a remark serializer.

It includes support for using a string table while emitting.

Definition at line 33 of file RemarkSerializer.h.

llvm::remarks::RemarkSerializer::RemarkSerializer ( Format SerializerFormat, raw_ostream & OS ) inline

~RemarkSerializer()

virtual llvm::remarks::RemarkSerializer::~RemarkSerializer ( ) virtualdefault

emit()

virtual void llvm::remarks::RemarkSerializer::emit ( const Remark & Remark) pure virtual

finalize()

virtual void llvm::remarks::RemarkSerializer::finalize ( ) inlinevirtual

metaSerializer()

OS

SerializerFormat

Format llvm::remarks::RemarkSerializer::SerializerFormat

StrTab

std::optional<StringTable> llvm::remarks::RemarkSerializer::StrTab


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