clang 22.0.0git
clang::DependentDiagnostic Class Reference

A dependently-generated diagnostic. More...

#include "clang/AST/DependentDiagnostic.h"

Public Types

enum  AccessNonce { Access = 0 }

Public Member Functions

unsigned getKind () const
bool isAccessToMember () const
AccessSpecifier getAccess () const
SourceLocation getAccessLoc () const
NamedDeclgetAccessTarget () const
NamedDeclgetAccessNamingClass () const
QualType getAccessBaseObjectType () const
const PartialDiagnosticgetDiagnostic () const

Static Public Member Functions

static DependentDiagnosticCreate (ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag)

Friends

class DeclContext::ddiag_iterator
class DependentStoredDeclsMap

Detailed Description

A dependently-generated diagnostic.

Definition at line 36 of file DependentDiagnostic.h.

Member Enumeration Documentation

◆ AccessNonce

Enumerator
Access 

Definition at line 38 of file DependentDiagnostic.h.

Member Function Documentation

◆ Create()

DependentDiagnostic * clang::DependentDiagnostic::Create ( ASTContext & Context,
DeclContext * Parent,
AccessNonce _,
SourceLocation Loc,
bool IsMemberAccess,
AccessSpecifier AS,
NamedDecl * TargetDecl,
CXXRecordDecl * NamingClass,
QualType BaseObjectType,
const PartialDiagnostic & PDiag )
inlinestatic

Definition at line 40 of file DependentDiagnostic.h.

References Access, BaseObjectType, clang::Create, IsMember, Loc, NamingClass, and TargetDecl.

Referenced by DelayDependentAccess().

◆ getAccess()

AccessSpecifier clang::DependentDiagnostic::getAccess ( ) const
inline

Definition at line 69 of file DependentDiagnostic.h.

References Access, and getKind().

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ getAccessBaseObjectType()

QualType clang::DependentDiagnostic::getAccessBaseObjectType ( ) const
inline

◆ getAccessLoc()

SourceLocation clang::DependentDiagnostic::getAccessLoc ( ) const
inline

Definition at line 74 of file DependentDiagnostic.h.

References Access, and getKind().

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ getAccessNamingClass()

NamedDecl * clang::DependentDiagnostic::getAccessNamingClass ( ) const
inline

Definition at line 84 of file DependentDiagnostic.h.

References Access, and getKind().

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ getAccessTarget()

NamedDecl * clang::DependentDiagnostic::getAccessTarget ( ) const
inline

Definition at line 79 of file DependentDiagnostic.h.

References Access, and getKind().

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ getDiagnostic()

const PartialDiagnostic & clang::DependentDiagnostic::getDiagnostic ( ) const
inline

Definition at line 94 of file DependentDiagnostic.h.

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ getKind()

unsigned clang::DependentDiagnostic::getKind ( ) const
inline

◆ isAccessToMember()

bool clang::DependentDiagnostic::isAccessToMember ( ) const
inline

Definition at line 64 of file DependentDiagnostic.h.

References Access, and getKind().

Referenced by clang::Sema::HandleDependentAccessCheck().

◆ DeclContext::ddiag_iterator

friend class DeclContext::ddiag_iterator
friend

Definition at line 99 of file DependentDiagnostic.h.

Referenced by clang::DeclContext::ddiags().

◆ DependentStoredDeclsMap

friend class DependentStoredDeclsMap
friend

Definition at line 100 of file DependentDiagnostic.h.

References DependentStoredDeclsMap.

Referenced by DependentStoredDeclsMap.

Member Data Documentation

◆ Access

◆ BaseObjectType

void* clang::DependentDiagnostic::BaseObjectType

Definition at line 122 of file DependentDiagnostic.h.

Referenced by Create().

◆ IsMember

unsigned clang::DependentDiagnostic::IsMember

Definition at line 119 of file DependentDiagnostic.h.

Referenced by Create().

◆ Loc

SourceLocation clang::DependentDiagnostic::Loc

Definition at line 115 of file DependentDiagnostic.h.

Referenced by Create().

◆ NamingClass

CXXRecordDecl* clang::DependentDiagnostic::NamingClass

Definition at line 121 of file DependentDiagnostic.h.

Referenced by Create().

◆ TargetDecl

NamedDecl* clang::DependentDiagnostic::TargetDecl

Definition at line 120 of file DependentDiagnostic.h.

Referenced by Create().


The documentation for this class was generated from the following files: