clear method

void clear()

Clears all errors and warnings

Implementation

void clear() {
  _errors.clear();
  _warnings.clear();
}