clang
8.0.0
|
#include "/work/llvm-www-releases/8.0.0/docsbuild/llvm.src/tools/clang/lib/ARCMigrate/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 29 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::FullSourceLoc::isBeforeInTranslationUnitThan(), clang::SourceRange::isInvalid(), and clang::DiagnosticsEngine::Note.
Referenced by clang::arcmt::TransformActions::clearAllDiagnostics(), clang::arcmt::TransformActions::clearDiagnostic(), and push_back().
|
inline |
Definition at line 41 of file Internals.h.
References SM, and clang::arcmt::writeARCDiagsToPlist().
Referenced by clang::arcmt::checkForManualIssues().
bool CapturedDiagList::hasDiagnostic | ( | ArrayRef< unsigned > | IDs, |
SourceRange | range | ||
) | const |
Definition at line 59 of file ARCMT.cpp.
References clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::FullSourceLoc::isBeforeInTranslationUnitThan(), and clang::SourceRange::isInvalid().
Referenced by clang::arcmt::TransformActions::hasDiagnostic(), and push_back().
bool CapturedDiagList::hasErrors | ( | ) | const |
Definition at line 86 of file ARCMT.cpp.
References clang::DiagnosticConsumer::BeginSourceFile(), clang::DiagnosticConsumer::EndSourceFile(), clang::DiagnosticsEngine::Error, clang::Diagnostic::getID(), clang::Diagnostic::getLocation(), clang::DiagnosticIDs::isARCDiagnostic(), clang::SourceLocation::isValid(), clang::DiagnosticsEngine::Note, push_back(), and clang::DiagnosticsEngine::setLastDiagnosticIgnored().
Referenced by clang::arcmt::MigrationProcess::applyTransform(), and push_back().
|
inline |
Definition at line 30 of file Internals.h.
References clearDiagnostic(), hasDiagnostic(), hasErrors(), and reportDiagnostics().
Referenced by hasErrors().
void CapturedDiagList::reportDiagnostics | ( | DiagnosticsEngine & | diags | ) | const |
Definition at line 81 of file ARCMT.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by clang::arcmt::MigrationProcess::applyTransform(), clang::arcmt::checkForManualIssues(), emitPremigrationErrors(), and push_back().