PrintNote overloads
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...
| Name | Description |
|---|---|
| PrintMsg | Callback that writes the note body to OS. |
| Msg | Note text to print. |
| NoteLoc | Source locations associated with the note. |