|
clang
3.8.0
|
A declaration being accessed, together with information about how it was accessed. More...
#include <DelayedDiagnostic.h>
Public Types | |
| enum | MemberNonce { Member } |
| A member declaration found through lookup. More... | |
| enum | BaseNonce { Base } |
| A hierarchy (base-to-derived or derived-to-base) conversion. More... | |
Public Member Functions | |
| bool | isMemberAccess () const |
| AccessedEntity (PartialDiagnostic::StorageAllocator &Allocator, MemberNonce _, CXXRecordDecl *NamingClass, DeclAccessPair FoundDecl, QualType BaseObjectType) | |
| AccessedEntity (PartialDiagnostic::StorageAllocator &Allocator, BaseNonce _, CXXRecordDecl *BaseClass, CXXRecordDecl *DerivedClass, AccessSpecifier Access) | |
| bool | isQuiet () const |
| AccessSpecifier | getAccess () const |
| NamedDecl * | getTargetDecl () const |
| CXXRecordDecl * | getNamingClass () const |
| CXXRecordDecl * | getBaseClass () const |
| CXXRecordDecl * | getDerivedClass () const |
| QualType | getBaseObjectType () const |
| Retrieves the base object type, important when accessing an instance member. More... | |
| void | setDiag (const PartialDiagnostic &PDiag) |
| Sets a diagnostic to be performed. More... | |
| PartialDiagnostic & | setDiag (unsigned DiagID) |
| const PartialDiagnostic & | getDiag () const |
A declaration being accessed, together with information about how it was accessed.
Definition at line 32 of file DelayedDiagnostic.h.
A hierarchy (base-to-derived or derived-to-base) conversion.
The target is the base class.
| Enumerator | |
|---|---|
| Base | |
Definition at line 40 of file DelayedDiagnostic.h.
A member declaration found through lookup.
The target is the member.
| Enumerator | |
|---|---|
| Member | |
Definition at line 36 of file DelayedDiagnostic.h.
|
inline |
Definition at line 44 of file DelayedDiagnostic.h.
|
inline |
Definition at line 54 of file DelayedDiagnostic.h.
|
inline |
Definition at line 67 of file DelayedDiagnostic.h.
|
inline |
Definition at line 74 of file DelayedDiagnostic.h.
|
inline |
Retrieves the base object type, important when accessing an instance member.
Definition at line 81 of file DelayedDiagnostic.h.
|
inline |
Definition at line 77 of file DelayedDiagnostic.h.
|
inline |
Definition at line 99 of file DelayedDiagnostic.h.
|
inline |
Definition at line 71 of file DelayedDiagnostic.h.
|
inline |
Definition at line 70 of file DelayedDiagnostic.h.
|
inline |
Definition at line 42 of file DelayedDiagnostic.h.
|
inline |
Definition at line 65 of file DelayedDiagnostic.h.
References clang::PartialDiagnostic::getDiagID().
Referenced by setDiag().
|
inline |
Sets a diagnostic to be performed.
The diagnostic is given four (additional) arguments: %0 - 0 if the entity was private, 1 if protected %1 - the DeclarationName of the entity %2 - the TypeDecl type of the naming class %3 - the TypeDecl type of the declaring class
Definition at line 89 of file DelayedDiagnostic.h.
References isQuiet().
|
inline |
Definition at line 93 of file DelayedDiagnostic.h.
References isQuiet(), and clang::PartialDiagnostic::Reset().
1.8.6