clang
3.9.0
|
#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.
|
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 28 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), I, clang::FullSourceLoc::isBeforeInTranslationUnitThan(), clang::SourceRange::isInvalid(), and clang::DiagnosticsEngine::Note.
|
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 58 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), I, clang::FullSourceLoc::isBeforeInTranslationUnitThan(), and clang::SourceRange::isInvalid().
Referenced by clang::arcmt::TransformActions::hasDiagnostic().
bool CapturedDiagList::hasErrors | ( | ) | const |
Definition at line 85 of file ARCMT.cpp.
References E, clang::DiagnosticsEngine::Error, and I.
Referenced by clang::arcmt::MigrationProcess::applyTransform().
|
inline |
Definition at line 30 of file Internals.h.
void CapturedDiagList::reportDiagnostics | ( | DiagnosticsEngine & | diags | ) | const |
Definition at line 80 of file ARCMT.cpp.
References E, I, and clang::DiagnosticsEngine::Report().
Referenced by clang::arcmt::MigrationProcess::applyTransform(), clang::arcmt::checkForManualIssues(), and emitPremigrationErrors().