LLVM 22.0.0git
llvm::LLVMRemarkStreamer Class Reference

Streamer for LLVM remarks which has logic for dealing with DiagnosticInfo objects. More...

#include "llvm/IR/LLVMRemarkStreamer.h"

Public Member Functions

 LLVMRemarkStreamer (remarks::RemarkStreamer &RS)
LLVM_ABI void emit (const DiagnosticInfoOptimizationBase &Diag)
 Emit a diagnostic through the streamer.

Detailed Description

Streamer for LLVM remarks which has logic for dealing with DiagnosticInfo objects.

Definition at line 36 of file LLVMRemarkStreamer.h.

Constructor & Destructor Documentation

◆ LLVMRemarkStreamer()

llvm::LLVMRemarkStreamer::LLVMRemarkStreamer ( remarks::RemarkStreamer & RS)
inline

Definition at line 44 of file LLVMRemarkStreamer.h.

Member Function Documentation

◆ emit()

void LLVMRemarkStreamer::emit ( const DiagnosticInfoOptimizationBase & Diag)

Emit a diagnostic through the streamer.

Definition at line 81 of file LLVMRemarkStreamer.cpp.

References llvm::DiagnosticInfoOptimizationBase::getPassName().


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