clang 20.0.0git
|
A collection of diagnostics which were delayed. More...
#include "clang/Sema/DelayedDiagnostic.h"
Public Types | |
using | pool_iterator = SmallVectorImpl< DelayedDiagnostic >::const_iterator |
Public Member Functions | |
DelayedDiagnosticPool (const DelayedDiagnosticPool *parent) | |
DelayedDiagnosticPool (const DelayedDiagnosticPool &)=delete | |
DelayedDiagnosticPool & | operator= (const DelayedDiagnosticPool &)=delete |
DelayedDiagnosticPool (DelayedDiagnosticPool &&Other) | |
DelayedDiagnosticPool & | operator= (DelayedDiagnosticPool &&Other) |
~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 265 of file DelayedDiagnostic.h.
using clang::sema::DelayedDiagnosticPool::pool_iterator = SmallVectorImpl<DelayedDiagnostic>::const_iterator |
Definition at line 317 of file DelayedDiagnostic.h.
|
inline |
Definition at line 270 of file DelayedDiagnostic.h.
References Parent.
|
delete |
|
inline |
Definition at line 275 of file DelayedDiagnostic.h.
References clang::Other, and Parent.
|
inline |
Definition at line 287 of file DelayedDiagnostic.h.
|
inline |
Add a diagnostic to this pool.
Definition at line 301 of file DelayedDiagnostic.h.
Referenced by clang::Sema::DelayedDiagnostics::add().
|
inline |
Does this pool, or any of its ancestors, contain any diagnostics?
Definition at line 296 of file DelayedDiagnostic.h.
References Parent.
|
inline |
Definition at line 293 of file DelayedDiagnostic.h.
References Parent.
Referenced by clang::Sema::PopParsingDeclaration().
|
delete |
|
inline |
Definition at line 280 of file DelayedDiagnostic.h.
References clang::Other, and Parent.
|
inline |
Definition at line 319 of file DelayedDiagnostic.h.
Referenced by clang::Sema::PopParsingDeclaration(), and steal().
|
inline |
Definition at line 321 of file DelayedDiagnostic.h.
Referenced by clang::SuppressAccessChecks::redelay().
|
inline |
Definition at line 320 of file DelayedDiagnostic.h.
Referenced by clang::Sema::PopParsingDeclaration(), and steal().
|
inline |
Steal the diagnostics from the given pool.
Definition at line 306 of file DelayedDiagnostic.h.
References pool_begin(), and pool_end().
Referenced by clang::ParsingDeclRAIIObject::ParsingDeclRAIIObject(), and clang::Sema::redelayDiagnostics().