Searched refs:NumErrors (Results 1 – 6 of 6) sorted by relevance
305 unsigned NumErrors; ///< Number of errors reported variable806 unsigned NumErrors; variable816 return Diag.TrapNumErrorsOccurred > NumErrors; in hasErrorOccurred()827 NumErrors = Diag.TrapNumErrorsOccurred; in reset()1254 unsigned NumErrors; ///< Number of errors reported variable1257 DiagnosticConsumer() : NumWarnings(0), NumErrors(0) { } in DiagnosticConsumer()1259 unsigned getNumErrors() const { return NumErrors; } in getNumErrors()1261 virtual void clear() { NumWarnings = NumErrors = 0; } in clear()
699 unsigned NumErrors = getDiagnostics().getClient()->getNumErrors(); in ExecuteAction() local703 if (NumWarnings && NumErrors) in ExecuteAction()705 if (NumErrors) in ExecuteAction()706 OS << NumErrors << " error" << (NumErrors == 1 ? "" : "s"); in ExecuteAction()707 if (NumWarnings || NumErrors) in ExecuteAction()
742 ++NumErrors; in CheckDiagnostics()747 NumErrors += CheckResults(Diags, *SrcManager, *Buffer, ED); in CheckDiagnostics()749 NumErrors += (PrintUnexpected(Diags, 0, Buffer->err_begin(), in CheckDiagnostics()
646 ++Diag.NumErrors; in ProcessDiag()670 ++Diag.NumErrors; in ProcessDiag()675 if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit && in ProcessDiag()
105 NumErrors = 0; in Reset()434 ++NumErrors; in HandleDiagnostic()
2668 unsigned NumErrors = Diags->getClient()->getNumErrors(); in clang_parseTranslationUnit_Impl() local2691 if (NumErrors != Diags->getClient()->getNumErrors()) { in clang_parseTranslationUnit_Impl()