slang::SourceManager::DiagnosticDirectiveInfo struct

Stores information specified in a `pragma diagnostic directive, which alters the currently active set of diagnostic mappings.

Public variables

std::string_view name
The name of the diagnostic being controlled.
size_t offset
Offset in the source where the directive occurred.
DiagnosticSeverity severity
The new severity the diagnostic should have.