clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::arcmt::CapturedDiagList Class Reference

#include "/opt/doxygen-docs/src/llvm/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
 

Detailed Description

Definition at line 25 of file Internals.h.

Member Typedef Documentation

◆ iterator

typedef ListTy::const_iterator clang::arcmt::CapturedDiagList::iterator

Definition at line 39 of file Internals.h.

Member Function Documentation

◆ begin()

iterator clang::arcmt::CapturedDiagList::begin ( ) const
inline

Definition at line 40 of file Internals.h.

◆ clearDiagnostic()

bool CapturedDiagList::clearDiagnostic ( ArrayRef< unsigned >  IDs,
SourceRange  range 
)

◆ end()

iterator clang::arcmt::CapturedDiagList::end ( ) const
inline

Definition at line 41 of file Internals.h.

References SM, and clang::arcmt::writeARCDiagsToPlist().

◆ hasDiagnostic()

bool CapturedDiagList::hasDiagnostic ( ArrayRef< unsigned >  IDs,
SourceRange  range 
) const

◆ hasErrors()

bool CapturedDiagList::hasErrors ( ) const

Definition at line 86 of file ARCMT.cpp.

Referenced by clang::arcmt::MigrationProcess::applyTransform(), and push_back().

◆ push_back()

void clang::arcmt::CapturedDiagList::push_back ( const StoredDiagnostic diag)
inline

Definition at line 30 of file Internals.h.

References clearDiagnostic(), hasDiagnostic(), hasErrors(), and reportDiagnostics().

◆ reportDiagnostics()

void CapturedDiagList::reportDiagnostics ( DiagnosticsEngine diags) const

The documentation for this class was generated from the following files: