clang API Documentation
#include <Sema.h>

Public Types | |
| enum | DDKind { Deprecation, Access } |
Public Member Functions | |
| void | destroy () |
| AccessedEntity & | getAccessData () |
| const AccessedEntity & | getAccessData () const |
Static Public Member Functions | |
| static DelayedDiagnostic | makeDeprecation (SourceLocation Loc, NamedDecl *D) |
| static DelayedDiagnostic | makeAccess (SourceLocation Loc, const AccessedEntity &Entity) |
Public Attributes | |
| unsigned char | Kind |
| bool | Triggered |
| SourceLocation | Loc |
| union { | |
| struct { | |
| NamedDecl * Decl | |
| } DeprecationData | |
| Deprecation. | |
| char AccessData [sizeof(AccessedEntity)] | |
| Access control. | |
| }; | |
Definition at line 450 of file Sema.h.
| void clang::Sema::DelayedDiagnostic::destroy | ( | ) | [inline] |
Definition at line 466 of file Sema.h.
References Access, Deprecation, getAccessData(), and Kind.
| const AccessedEntity& clang::Sema::DelayedDiagnostic::getAccessData | ( | ) | const [inline] |
Definition at line 496 of file Sema.h.
References AccessData.
| AccessedEntity& clang::Sema::DelayedDiagnostic::getAccessData | ( | ) | [inline] |
Definition at line 493 of file Sema.h.
References AccessData.
Referenced by destroy(), clang::Sema::HandleDelayedAccessCheck(), and makeAccess().
| static DelayedDiagnostic clang::Sema::DelayedDiagnostic::makeAccess | ( | SourceLocation | Loc, | |
| const AccessedEntity & | Entity | |||
| ) | [inline, static] |
Definition at line 483 of file Sema.h.
References Access, getAccessData(), Kind, Loc, and Triggered.
Referenced by CheckAccess().
| static DelayedDiagnostic clang::Sema::DelayedDiagnostic::makeDeprecation | ( | SourceLocation | Loc, | |
| NamedDecl * | D | |||
| ) | [inline, static] |
Definition at line 473 of file Sema.h.
References Deprecation, DeprecationData, Kind, Loc, and Triggered.
Referenced by clang::Sema::EmitDeprecationWarning().
| union { ... } |
| char clang::Sema::DelayedDiagnostic::AccessData[sizeof(AccessedEntity)] |
| struct { ... } clang::Sema::DelayedDiagnostic::DeprecationData |
Deprecation.
Referenced by clang::Sema::HandleDelayedDeprecationCheck(), and makeDeprecation().
| unsigned char clang::Sema::DelayedDiagnostic::Kind |
Definition at line 453 of file Sema.h.
Referenced by destroy(), makeAccess(), and makeDeprecation().
Definition at line 456 of file Sema.h.
Referenced by clang::Sema::HandleDelayedAccessCheck(), clang::Sema::HandleDelayedDeprecationCheck(), makeAccess(), and makeDeprecation().
Definition at line 454 of file Sema.h.
Referenced by clang::Sema::HandleDelayedAccessCheck(), clang::Sema::HandleDelayedDeprecationCheck(), makeAccess(), and makeDeprecation().