Define Error::severity()

This commit is contained in:
Kamil Śliwak 2023-08-21 10:26:01 +02:00
parent 78b1f5acc2
commit c5b81b66cd

View File

@ -206,6 +206,7 @@ public:
ErrorId errorId() const { return m_errorId; }
Type type() const { return m_type; }
Severity severity() const { return errorSeverity(m_type); }
SourceLocation const* sourceLocation() const noexcept;
SecondarySourceLocation const* secondarySourceLocation() const noexcept;