|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Minimal example showing source management and diagnostic rendering. More...
Go to the source code of this file.
Functions | |
| int | main () |
Minimal example showing source management and diagnostic rendering.
Definition in file compiler_diagnostics_example.cc.
| int main | ( | void | ) |
Definition at line 43 of file compiler_diagnostics_example.cc.
References Aleph::Source_Manager::add_virtual_file(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Builder::help(), Aleph::Diagnostic_Builder::note(), Aleph::Diagnostic_Engine::render_plain(), and Aleph::Source_Manager::span().