clang API Documentation
#include <Internals.h>
Public Types | |
| typedef ListTy::const_iterator | iterator |
Public Member Functions | |
| void | push_back (const StoredDiagnostic &diag) |
| bool | clearDiagnostic (ArrayRef< unsigned > IDs, SourceRange range) |
| bool | hasDiagnostic (ArrayRef< unsigned > IDs, SourceRange range) const |
| void | reportDiagnostics (DiagnosticsEngine &diags) const |
| bool | hasErrors () const |
| iterator | begin () const |
| iterator | end () const |
Definition at line 25 of file Internals.h.
| typedef ListTy::const_iterator clang::arcmt::CapturedDiagList::iterator |
Definition at line 39 of file Internals.h.
| iterator clang::arcmt::CapturedDiagList::begin | ( | ) | const [inline] |
Definition at line 40 of file Internals.h.
Referenced by clang::arcmt::checkForManualIssues().
| bool CapturedDiagList::clearDiagnostic | ( | ArrayRef< unsigned > | IDs, |
| SourceRange | range | ||
| ) |
Definition at line 27 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::FullSourceLoc::isBeforeInTranslationUnitThan(), clang::SourceRange::isInvalid(), and clang::serialized_diags::Note.
| iterator clang::arcmt::CapturedDiagList::end | ( | ) | const [inline] |
Definition at line 41 of file Internals.h.
Referenced by clang::arcmt::checkForManualIssues().
| bool CapturedDiagList::hasDiagnostic | ( | ArrayRef< unsigned > | IDs, |
| SourceRange | range | ||
| ) | const |
Definition at line 57 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::FullSourceLoc::isBeforeInTranslationUnitThan(), and clang::SourceRange::isInvalid().
Referenced by clang::arcmt::TransformActions::hasDiagnostic().
| bool CapturedDiagList::hasErrors | ( | ) | const |
Definition at line 84 of file ARCMT.cpp.
References clang::diag::Error.
Referenced by clang::arcmt::MigrationProcess::applyTransform().
| void clang::arcmt::CapturedDiagList::push_back | ( | const StoredDiagnostic & | diag | ) | [inline] |
Definition at line 30 of file Internals.h.
| void CapturedDiagList::reportDiagnostics | ( | DiagnosticsEngine & | diags | ) | const |
Definition at line 79 of file ARCMT.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by clang::arcmt::MigrationProcess::applyTransform(), clang::arcmt::checkForManualIssues(), and emitPremigrationErrors().