Define Error::severity()

This commit is contained in:
Kamil Śliwak
2023-08-23 18:00:01 +02:00
parent 78b1f5acc2
commit c5b81b66cd
+1
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;