Yume
Public Member Functions | Public Attributes | List of all members
yume::diagnostic::StringNotesHolder Struct Reference

#include <notes.hpp>

Inheritance diagram for yume::diagnostic::StringNotesHolder:
Inheritance graph
[legend]
Collaboration diagram for yume::diagnostic::StringNotesHolder:
Collaboration graph
[legend]

Public Member Functions

 StringNotesHolder (vector< SourceFile * > context_files={})
 
- Public Member Functions inherited from yume::diagnostic::NotesHolder
auto emit (Loc location, Severity severity=Severity::Note) -> Note
 

Public Attributes

string buffer {}
 
unique_ptr< llvm::raw_string_ostream > buffer_stream = std::make_unique<llvm::raw_string_ostream>(buffer)
 
- Public Attributes inherited from yume::diagnostic::NotesHolder
vector< SourceFile * > context_files
 
llvm::raw_ostream * stream {&llvm::errs()}
 
Loc prev_loc {}
 

Detailed Description

Definition at line 58 of file notes.hpp.

Constructor & Destructor Documentation

◆ StringNotesHolder()

yume::diagnostic::StringNotesHolder::StringNotesHolder ( vector< SourceFile * >  context_files = {})
inline

Definition at line 63 of file notes.hpp.

Member Data Documentation

◆ buffer

string yume::diagnostic::StringNotesHolder::buffer {}

Definition at line 60 of file notes.hpp.

◆ buffer_stream

unique_ptr<llvm::raw_string_ostream> yume::diagnostic::StringNotesHolder::buffer_stream = std::make_unique<llvm::raw_string_ostream>(buffer)

Definition at line 61 of file notes.hpp.


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