clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::sema::DelayedDiagnosticPool Class Reference

A collection of diagnostics which were delayed. More...

#include "clang/Sema/DelayedDiagnostic.h"

Public Types

typedef SmallVectorImpl< DelayedDiagnostic >::const_iterator pool_iterator
 

Public Member Functions

 DelayedDiagnosticPool (const DelayedDiagnosticPool *parent)
 
 ~DelayedDiagnosticPool ()
 
 DelayedDiagnosticPool (DelayedDiagnosticPool &&Other)
 
DelayedDiagnosticPooloperator= (DelayedDiagnosticPool &&Other)
 
const DelayedDiagnosticPoolgetParent () const
 
bool empty () const
 Does this pool, or any of its ancestors, contain any diagnostics? More...
 
void add (const DelayedDiagnostic &diag)
 Add a diagnostic to this pool. More...
 
void steal (DelayedDiagnosticPool &pool)
 Steal the diagnostics from the given pool. More...
 
pool_iterator pool_begin () const
 
pool_iterator pool_end () const
 
bool pool_empty () const
 

Detailed Description

A collection of diagnostics which were delayed.

Definition at line 247 of file DelayedDiagnostic.h.

Member Typedef Documentation

◆ pool_iterator

Definition at line 296 of file DelayedDiagnostic.h.

Constructor & Destructor Documentation

◆ DelayedDiagnosticPool() [1/2]

clang::sema::DelayedDiagnosticPool::DelayedDiagnosticPool ( const DelayedDiagnosticPool parent)
inline

Definition at line 254 of file DelayedDiagnostic.h.

◆ ~DelayedDiagnosticPool()

clang::sema::DelayedDiagnosticPool::~DelayedDiagnosticPool ( )
inline

Definition at line 255 of file DelayedDiagnostic.h.

◆ DelayedDiagnosticPool() [2/2]

clang::sema::DelayedDiagnosticPool::DelayedDiagnosticPool ( DelayedDiagnosticPool &&  Other)
inline

Definition at line 261 of file DelayedDiagnostic.h.

Member Function Documentation

◆ add()

void clang::sema::DelayedDiagnosticPool::add ( const DelayedDiagnostic diag)
inline

Add a diagnostic to this pool.

Definition at line 280 of file DelayedDiagnostic.h.

◆ empty()

bool clang::sema::DelayedDiagnosticPool::empty ( ) const
inline

Does this pool, or any of its ancestors, contain any diagnostics?

Definition at line 275 of file DelayedDiagnostic.h.

References empty().

Referenced by empty().

◆ getParent()

const DelayedDiagnosticPool* clang::sema::DelayedDiagnosticPool::getParent ( ) const
inline

Definition at line 272 of file DelayedDiagnostic.h.

References Parent.

Referenced by clang::Sema::PopParsingDeclaration().

◆ operator=()

DelayedDiagnosticPool& clang::sema::DelayedDiagnosticPool::operator= ( DelayedDiagnosticPool &&  Other)
inline

Definition at line 265 of file DelayedDiagnostic.h.

◆ pool_begin()

pool_iterator clang::sema::DelayedDiagnosticPool::pool_begin ( ) const
inline

Definition at line 297 of file DelayedDiagnostic.h.

Referenced by clang::Sema::PopParsingDeclaration(), and steal().

◆ pool_empty()

bool clang::sema::DelayedDiagnosticPool::pool_empty ( ) const
inline

Definition at line 299 of file DelayedDiagnostic.h.

Referenced by clang::SuppressAccessChecks::redelay().

◆ pool_end()

pool_iterator clang::sema::DelayedDiagnosticPool::pool_end ( ) const
inline

Definition at line 298 of file DelayedDiagnostic.h.

Referenced by clang::Sema::PopParsingDeclaration(), and steal().

◆ steal()

void clang::sema::DelayedDiagnosticPool::steal ( DelayedDiagnosticPool pool)
inline

Steal the diagnostics from the given pool.

Definition at line 285 of file DelayedDiagnostic.h.

References pool_begin(), and pool_end().

Referenced by clang::ParsingDeclRAIIObject::ParsingDeclRAIIObject(), and clang::Sema::redelayDiagnostics().


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