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

#include <notes.hpp>

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

Public Member Functions

auto emit (Loc location, Severity severity=Severity::Note) -> Note
 

Public Attributes

vector< SourceFile * > context_files
 
llvm::raw_ostream * stream {&llvm::errs()}
 
Loc prev_loc {}
 

Detailed Description

Definition at line 49 of file notes.hpp.

Member Function Documentation

◆ emit()

auto yume::diagnostic::NotesHolder::emit ( Loc  location,
Severity  severity = Severity::Note 
) -> Note
inline

Member Data Documentation

◆ context_files

vector<SourceFile*> yume::diagnostic::NotesHolder::context_files

Definition at line 51 of file notes.hpp.

Referenced by yume::diagnostic::Note::emit().

◆ prev_loc

Loc yume::diagnostic::NotesHolder::prev_loc {}

Definition at line 53 of file notes.hpp.

Referenced by yume::diagnostic::Note::emit().

◆ stream

llvm::raw_ostream* yume::diagnostic::NotesHolder::stream {&llvm::errs()}

Definition at line 52 of file notes.hpp.

Referenced by yume::diagnostic::Note::emit().


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