clang  3.9.0
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::DependentDiagnostic Class Reference

A dependently-generated diagnostic. More...

#include <DependentDiagnostic.h>

Collaboration diagram for clang::DependentDiagnostic:
[legend]

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 DependentStoredDeclsMap
 
class DeclContext::ddiag_iterator
 

Detailed Description

A dependently-generated diagnostic.

Definition at line 34 of file DependentDiagnostic.h.

Member Enumeration Documentation

Enumerator
Access 

Definition at line 36 of file DependentDiagnostic.h.

Member Function Documentation

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 
)
inlinestatic
AccessSpecifier clang::DependentDiagnostic::getAccess ( ) const
inline

Definition at line 67 of file DependentDiagnostic.h.

References Access, and getKind().

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

QualType clang::DependentDiagnostic::getAccessBaseObjectType ( ) const
inline
SourceLocation clang::DependentDiagnostic::getAccessLoc ( ) const
inline
NamedDecl* clang::DependentDiagnostic::getAccessNamingClass ( ) const
inline

Definition at line 82 of file DependentDiagnostic.h.

References Access, and getKind().

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

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

Definition at line 77 of file DependentDiagnostic.h.

References Access, 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
bool clang::DependentDiagnostic::isAccessToMember ( ) const
inline

Definition at line 62 of file DependentDiagnostic.h.

References Access, and getKind().

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

Friends And Related Function Documentation

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.

Member Data Documentation

unsigned clang::DependentDiagnostic::Access
void* clang::DependentDiagnostic::BaseObjectType

Definition at line 117 of file DependentDiagnostic.h.

Referenced by Create().

unsigned clang::DependentDiagnostic::IsMember

Definition at line 114 of file DependentDiagnostic.h.

Referenced by Create().

unsigned clang::DependentDiagnostic::Loc

Definition at line 112 of file DependentDiagnostic.h.

Referenced by Create().

CXXRecordDecl* clang::DependentDiagnostic::NamingClass

Definition at line 116 of file DependentDiagnostic.h.

Referenced by Create().

NamedDecl* clang::DependentDiagnostic::TargetDecl

Definition at line 115 of file DependentDiagnostic.h.

Referenced by Create().


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