clang API Documentation
A dependently-generated diagnostic. More...
#include <DependentDiagnostic.h>

Public Types | |
| enum | AccessNonce { Access = 0 } |
Public Member Functions | |
| unsigned | getKind () const |
| bool | isAccessToMember () const |
| AccessSpecifier | getAccess () const |
| SourceLocation | getAccessLoc () const |
| NamedDecl * | getAccessTarget () const |
| NamedDecl * | getAccessNamingClass () const |
| QualType | getAccessBaseObjectType () const |
| const PartialDiagnostic & | getDiagnostic () const |
Static Public Member Functions | |
| static DependentDiagnostic * | Create (ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) |
Friends | |
| class | DependentStoredDeclsMap |
| class | DeclContext::ddiag_iterator |
A dependently-generated diagnostic.
Definition at line 34 of file DependentDiagnostic.h.
Definition at line 36 of file DependentDiagnostic.h.
| static DependentDiagnostic* clang::DependentDiagnostic::Create | ( | ASTContext & | Context, |
| DeclContext * | Parent, | ||
| AccessNonce | _, | ||
| SourceLocation | Loc, | ||
| bool | IsMemberAccess, | ||
| AccessSpecifier | AS, | ||
| NamedDecl * | TargetDecl, | ||
| CXXRecordDecl * | NamingClass, | ||
| QualType | BaseObjectType, | ||
| const PartialDiagnostic & | PDiag | ||
| ) | [inline, static] |
Definition at line 38 of file DependentDiagnostic.h.
References AccessData, clang::QualType::getAsOpaquePtr(), clang::SourceLocation::getRawEncoding(), NamingClass, and TargetDecl.
Referenced by DelayDependentAccess().
| AccessSpecifier clang::DependentDiagnostic::getAccess | ( | ) | const [inline] |
Definition at line 67 of file DependentDiagnostic.h.
References Access, AccessData, and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
| QualType clang::DependentDiagnostic::getAccessBaseObjectType | ( | ) | const [inline] |
Definition at line 87 of file DependentDiagnostic.h.
References Access, AccessData, clang::QualType::getFromOpaquePtr(), and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
| SourceLocation clang::DependentDiagnostic::getAccessLoc | ( | ) | const [inline] |
Definition at line 72 of file DependentDiagnostic.h.
References Access, AccessData, clang::SourceLocation::getFromRawEncoding(), and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
| NamedDecl* clang::DependentDiagnostic::getAccessNamingClass | ( | ) | const [inline] |
Definition at line 82 of file DependentDiagnostic.h.
References Access, AccessData, and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
| NamedDecl* clang::DependentDiagnostic::getAccessTarget | ( | ) | const [inline] |
Definition at line 77 of file DependentDiagnostic.h.
References Access, AccessData, and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
| const PartialDiagnostic& clang::DependentDiagnostic::getDiagnostic | ( | ) | const [inline] |
Definition at line 92 of file DependentDiagnostic.h.
Referenced by clang::Sema::HandleDependentAccessCheck().
| unsigned clang::DependentDiagnostic::getKind | ( | ) | const [inline] |
Definition at line 58 of file DependentDiagnostic.h.
References Access.
Referenced by getAccess(), getAccessBaseObjectType(), getAccessLoc(), getAccessNamingClass(), getAccessTarget(), isAccessToMember(), and clang::Sema::PerformDependentDiagnostics().
| bool clang::DependentDiagnostic::isAccessToMember | ( | ) | const [inline] |
Definition at line 62 of file DependentDiagnostic.h.
References Access, AccessData, and getKind().
Referenced by clang::Sema::HandleDependentAccessCheck().
friend class DeclContext::ddiag_iterator [friend] |
Definition at line 106 of file DependentDiagnostic.h.
friend class DependentStoredDeclsMap [friend] |
Definition at line 105 of file DependentDiagnostic.h.
| unsigned clang::DependentDiagnostic::Access |
Definition at line 114 of file DependentDiagnostic.h.
Referenced by DelayDependentAccess(), getAccess(), getAccessBaseObjectType(), getAccessLoc(), getAccessNamingClass(), getAccessTarget(), getKind(), isAccessToMember(), and clang::Sema::PerformDependentDiagnostics().
| struct { ... } clang::DependentDiagnostic::AccessData |
Referenced by Create(), getAccess(), getAccessBaseObjectType(), getAccessLoc(), getAccessNamingClass(), getAccessTarget(), and isAccessToMember().
Definition at line 118 of file DependentDiagnostic.h.
| unsigned clang::DependentDiagnostic::IsMember |
Definition at line 115 of file DependentDiagnostic.h.
| unsigned clang::DependentDiagnostic::Loc |
Definition at line 113 of file DependentDiagnostic.h.
Definition at line 117 of file DependentDiagnostic.h.
Referenced by Create().
Definition at line 116 of file DependentDiagnostic.h.
Referenced by Create().