|
Yume
|
#include <notes.hpp>

Public Member Functions | |
| Note (NotesHolder *holder, string message, Loc location, Severity severity=Severity::Note) | |
| Note (const Note &)=delete | |
| Note (Note &&)=default | |
| auto | operator= (const Note &) -> Note &=delete |
| auto | operator= (Note &&) -> Note &=default |
| ~Note () noexcept(false) | |
| void | emit () const |
| auto | operator<< (auto &&other) -> Note & |
Public Attributes | |
| NotesHolder * | holder |
| string | message |
| Loc | location |
| Severity | severity |
|
inline |
|
delete |
|
default |
|
inlinenoexcept |
Definition at line 34 of file notes.hpp.
References emit(), yume::diagnostic::Fatal, and message.
| void yume::diagnostic::Note::emit | ( | ) | const |
Definition at line 11 of file notes.cpp.
References yume::Loc::begin_col, yume::Loc::begin_line, yume::diagnostic::NotesHolder::context_files, yume::diagnostic::Error, yume::diagnostic::Fatal, holder, location, message, yume::diagnostic::Note, yume::diagnostic::NotesHolder::prev_loc, severity, yume::Loc::single(), yume::diagnostic::NotesHolder::stream, yume::Loc::valid(), and yume::diagnostic::Warn.
Referenced by ~Note().
|
inline |
| NotesHolder* yume::diagnostic::Note::holder |
| string yume::diagnostic::Note::message |
| Severity yume::diagnostic::Note::severity |