clang API Documentation
A collection of diagnostics which were delayed. More...
#include <DelayedDiagnostic.h>
Public Types | |
typedef SmallVectorImpl < DelayedDiagnostic > ::const_iterator | pool_iterator |
Public Member Functions | |
DelayedDiagnosticPool (const DelayedDiagnosticPool *parent) | |
~DelayedDiagnosticPool () | |
const DelayedDiagnosticPool * | getParent () 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 |
A collection of diagnostics which were delayed.
Definition at line 239 of file DelayedDiagnostic.h.
typedef SmallVectorImpl<DelayedDiagnostic>::const_iterator clang::sema::DelayedDiagnosticPool::pool_iterator |
Definition at line 277 of file DelayedDiagnostic.h.
clang::sema::DelayedDiagnosticPool::DelayedDiagnosticPool | ( | const DelayedDiagnosticPool * | parent | ) | [inline] |
Definition at line 246 of file DelayedDiagnostic.h.
Definition at line 247 of file DelayedDiagnostic.h.
void clang::sema::DelayedDiagnosticPool::add | ( | const DelayedDiagnostic & | diag | ) | [inline] |
Add a diagnostic to this pool.
Definition at line 261 of file DelayedDiagnostic.h.
Referenced by clang::Sema::DelayedDiagnostics::add().
bool clang::sema::DelayedDiagnosticPool::empty | ( | ) | const [inline] |
Does this pool, or any of its ancestors, contain any diagnostics?
Definition at line 256 of file DelayedDiagnostic.h.
References empty().
Referenced by empty().
const DelayedDiagnosticPool* clang::sema::DelayedDiagnosticPool::getParent | ( | ) | const [inline] |
Definition at line 253 of file DelayedDiagnostic.h.
Referenced by clang::Sema::PopParsingDeclaration().
pool_iterator clang::sema::DelayedDiagnosticPool::pool_begin | ( | ) | const [inline] |
Definition at line 278 of file DelayedDiagnostic.h.
Referenced by clang::Sema::PopParsingDeclaration(), and steal().
bool clang::sema::DelayedDiagnosticPool::pool_empty | ( | ) | const [inline] |
Definition at line 280 of file DelayedDiagnostic.h.
Referenced by clang::SuppressAccessChecks::redelay().
pool_iterator clang::sema::DelayedDiagnosticPool::pool_end | ( | ) | const [inline] |
Definition at line 279 of file DelayedDiagnostic.h.
Referenced by clang::Sema::PopParsingDeclaration(), and steal().
void clang::sema::DelayedDiagnosticPool::steal | ( | DelayedDiagnosticPool & | pool | ) | [inline] |
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().