|
Loom C API
Public Loom compiler C API
|
Structured diagnostics produced by completed operations. More...
Go to the source code of this file.
Data Structures | |
| struct | loomc_source_range_t |
| Source range attached to a diagnostic. More... | |
| struct | loomc_diagnostic_t |
| Borrowed diagnostic view owned by a result object. More... | |
Enumerations | |
| enum | loomc_diagnostic_severity_t { LOOMC_DIAGNOSTIC_SEVERITY_NOTE = 0 , LOOMC_DIAGNOSTIC_SEVERITY_WARNING = 1 , LOOMC_DIAGNOSTIC_SEVERITY_ERROR = 2 } |
| Diagnostic severity. More... | |
Structured diagnostics produced by completed operations.
Diagnostics describe source, configuration, linker, compiler, and lowering outcomes that belong to an operation result. They are typed data so bindings can expose native diagnostic objects instead of parsing strings.