|
Aleph-w 3.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::blossom_maximum_cardinality_matching(), Aleph::Diagnostic_Builder::code(), Aleph::Diagnostic_Builder::emit(), Aleph::Diagnostic_Engine::error(), Aleph::Diagnostic_Builder::help(), Aleph::Diagnostic_Builder::note(), and Aleph::Diagnostic_Engine::render_plain().