Remove a dedicated error flag from DeclarationTypeChecker

This commit is contained in:
a3d4
2020-05-12 18:13:17 +02:00
parent b014b89edc
commit 02d1f8c41a
5 changed files with 8 additions and 9 deletions
+6
View File
@@ -134,6 +134,12 @@ public:
return m_errorCount > 0;
}
/// @returns the number of errors (ignores warnings).
unsigned errorCount() const
{
return m_errorCount;
}
// @returns true if the maximum error count has been reached.
bool hasExcessiveErrors() const;