llvm::PrintNote

PrintNote overloads

Synopses

Declared in <llvm/TableGen/Error.h>

Print a note diagnostic by writing into a colored note stream.

void
PrintNote(function_ref<void(raw_ostream&)> PrintMsg);
» more...

Print a note diagnostic with message Msg and no source location.

void
PrintNote(Twine const& Msg);
» more...

Print a note diagnostic at source location(s) NoteLoc.

void
PrintNote(
    ArrayRef<SMLoc> NoteLoc,
    Twine const& Msg);
» more...

Parameters

NameDescription
PrintMsgCallback that writes the note body to OS.
MsgNote text to print.
NoteLocSource locations associated with the note.