Home
last modified time | relevance | path

Searched refs:NumErrors (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp302 unsigned NumErrors = 0; in verifyAbbrevSection() local
314 ++NumErrors; in verifyAbbrevSection()
319 return NumErrors; in verifyAbbrevSection()
326 unsigned NumErrors = 0; in handleDebugAbbrev() local
328 NumErrors += verifyAbbrevSection(DCtx.getDebugAbbrev()); in handleDebugAbbrev()
330 NumErrors += verifyAbbrevSection(DCtx.getDebugAbbrevDWO()); in handleDebugAbbrev()
332 return NumErrors == 0; in handleDebugAbbrev()
453 unsigned NumErrors = 0; in handleDebugInfo() local
457 NumErrors += verifyUnitSection(S); in handleDebugInfo()
462 NumErrors += verifyUnitSection(S); in handleDebugInfo()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DDiagnostic.h495 unsigned NumErrors; variable
852 unsigned getNumErrors() const { return NumErrors; } in getNumErrors()
1074 unsigned NumErrors; variable
1084 return Diag.TrapNumErrorsOccurred > NumErrors; in hasErrorOccurred()
1095 NumErrors = Diag.TrapNumErrorsOccurred; in reset()
1743 unsigned NumErrors = 0; ///< Number of errors reported variable
1749 unsigned getNumErrors() const { return NumErrors; } in getNumErrors()
1751 virtual void clear() { NumWarnings = NumErrors = 0; } in clear()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp1099 ++NumErrors; in CheckDiagnostics()
1104 NumErrors += CheckResults(Diags, *SrcManager, *Buffer, ED); in CheckDiagnostics()
1109 NumErrors += PrintUnexpected(Diags, nullptr, Buffer->err_begin(), in CheckDiagnostics()
1112 NumErrors += PrintUnexpected(Diags, nullptr, Buffer->warn_begin(), in CheckDiagnostics()
1115 NumErrors += PrintUnexpected(Diags, nullptr, Buffer->remark_begin(), in CheckDiagnostics()
1118 NumErrors += PrintUnexpected(Diags, nullptr, Buffer->note_begin(), in CheckDiagnostics()
H A DCompilerInstance.cpp1057 unsigned NumErrors = getDiagnostics().getClient()->getNumErrors(); in ExecuteAction() local
1061 if (NumWarnings && NumErrors) in ExecuteAction()
1063 if (NumErrors) in ExecuteAction()
1064 OS << NumErrors << " error" << (NumErrors == 1 ? "" : "s"); in ExecuteAction()
1065 if (NumWarnings || NumErrors) { in ExecuteAction()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DDiagnosticIDs.cpp790 ++Diag.NumErrors; in ProcessDiag()
813 ++Diag.NumErrors; in ProcessDiag()
818 if (Diag.ErrorLimit && Diag.NumErrors > Diag.ErrorLimit && in ProcessDiag()
H A DDiagnostic.cpp141 NumErrors = 0; in Reset()
572 ++NumErrors; in HandleDiagnostic()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp462 unsigned NumErrors = 0; in mergeInstrProfile() local
465 ++NumErrors; in mergeInstrProfile()
469 if (NumErrors == Inputs.size() || in mergeInstrProfile()
470 (NumErrors > 0 && FailMode == failIfAnyAreInvalid)) in mergeInstrProfile()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp3883 unsigned NumErrors = Diags->getClient()->getNumErrors(); in clang_parseTranslationUnit_Impl() local
3911 if (NumErrors != Diags->getClient()->getNumErrors()) { in clang_parseTranslationUnit_Impl()