clang API Documentation

Public Types | Public Member Functions
clang::sema::DelayedDiagnosticPool Class Reference

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

#include <DelayedDiagnostic.h>

List of all members.

Public Types

typedef SmallVectorImpl
< DelayedDiagnostic >
::const_iterator 
pool_iterator

Public Member Functions

 DelayedDiagnosticPool (const DelayedDiagnosticPool *parent)
 ~DelayedDiagnosticPool ()
const DelayedDiagnosticPoolgetParent () const
bool empty () const
 Does this pool, or any of its ancestors, contain any diagnostics?
void add (const DelayedDiagnostic &diag)
 Add a diagnostic to this pool.
void steal (DelayedDiagnosticPool &pool)
 Steal the diagnostics from the given pool.
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 239 of file DelayedDiagnostic.h.


Member Typedef Documentation

typedef SmallVectorImpl<DelayedDiagnostic>::const_iterator clang::sema::DelayedDiagnosticPool::pool_iterator

Definition at line 277 of file DelayedDiagnostic.h.


Constructor & Destructor Documentation

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

Definition at line 246 of file DelayedDiagnostic.h.

Definition at line 247 of file DelayedDiagnostic.h.


Member Function Documentation

Add a diagnostic to this pool.

Definition at line 261 of file DelayedDiagnostic.h.

Referenced by clang::Sema::DelayedDiagnostics::add().

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

Definition at line 256 of file DelayedDiagnostic.h.

References empty().

Referenced by empty().

Definition at line 253 of file DelayedDiagnostic.h.

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

Definition at line 278 of file DelayedDiagnostic.h.

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

Definition at line 280 of file DelayedDiagnostic.h.

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

Definition at line 279 of file DelayedDiagnostic.h.

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

Steal the diagnostics from the given pool.

Definition at line 266 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: