Searched refs:NumErrors (Results 1 – 6 of 6) sorted by relevance
305 unsigned NumErrors; ///< Number of errors reported variable783 unsigned NumErrors; variable793 return Diag.TrapNumErrorsOccurred > NumErrors; in hasErrorOccurred()804 NumErrors = Diag.TrapNumErrorsOccurred; in reset()1227 unsigned NumErrors; ///< Number of errors reported variable1230 DiagnosticConsumer() : NumWarnings(0), NumErrors(0) { } in DiagnosticConsumer()1232 unsigned getNumErrors() const { return NumErrors; } in getNumErrors()1234 virtual void clear() { NumWarnings = NumErrors = 0; } in clear()
684 unsigned NumErrors = getDiagnostics().getClient()->getNumErrors(); in ExecuteAction() local688 if (NumWarnings && NumErrors) in ExecuteAction()690 if (NumErrors) in ExecuteAction()691 OS << NumErrors << " error" << (NumErrors == 1 ? "" : "s"); in ExecuteAction()692 if (NumWarnings || NumErrors) in ExecuteAction()
710 NumErrors += CheckResults(Diags, *SrcManager, *Buffer, ED); in CheckDiagnostics()712 NumErrors += (PrintUnexpected(Diags, 0, Buffer->err_begin(), in CheckDiagnostics()
614 ++Diag.NumErrors; in ProcessDiag()634 ++Diag.NumErrors; in ProcessDiag()639 if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit && in ProcessDiag()
101 NumErrors = 0; in Reset()434 ++NumErrors; in HandleDiagnostic()
2621 unsigned NumErrors = Diags->getClient()->getNumErrors(); in clang_parseTranslationUnit_Impl() local2643 if (NumErrors != Diags->getClient()->getNumErrors()) { in clang_parseTranslationUnit_Impl()