class DependentDiagnostic

Declaration

class DependentDiagnostic { /* full declaration omitted */ };

Description

A dependently-generated diagnostic.

Declared at: clang/include/clang/AST/DependentDiagnostic.h:36

Member Variables

private clang::DependentDiagnostic* NextDiagnostic
private clang::PartialDiagnostic Diag
private struct(unnamed struct at / home / hdoc / tmp / llvm - project / clang / include / clang / AST / DependentDiagnostic.h : 114 : 3) AccessData

Method Overview

  • public static clang::DependentDiagnostic * Create(clang::ASTContext & Context, clang::DeclContext * Parent, clang::DependentDiagnostic::AccessNonce _, clang::SourceLocation Loc, bool IsMemberAccess, clang::AccessSpecifier AS, clang::NamedDecl * TargetDecl, clang::CXXRecordDecl * NamingClass, clang::QualType BaseObjectType, const clang::PartialDiagnostic & PDiag)
  • private static clang::DependentDiagnostic * Create(clang::ASTContext & Context, clang::DeclContext * Parent, const clang::PartialDiagnostic & PDiag)
  • private DependentDiagnostic(const clang::PartialDiagnostic & PDiag, clang::DiagnosticStorage * Storage)
  • public clang::AccessSpecifier getAccess() const
  • public clang::QualType getAccessBaseObjectType() const
  • public clang::SourceLocation getAccessLoc() const
  • public clang::NamedDecl * getAccessNamingClass() const
  • public clang::NamedDecl * getAccessTarget() const
  • public const clang::PartialDiagnostic & getDiagnostic() const
  • public unsigned int getKind() const
  • public bool isAccessToMember() const

Methods

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

Declared at: clang/include/clang/AST/DependentDiagnostic.h:40

Parameters

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

static clang::DependentDiagnostic* Create(
    clang::ASTContext& Context,
    clang::DeclContext* Parent,
    const clang::PartialDiagnostic& PDiag)

Declared at: clang/include/clang/AST/DependentDiagnostic.h:106

Parameters

clang::ASTContext& Context
clang::DeclContext* Parent
const clang::PartialDiagnostic& PDiag

DependentDiagnostic(
    const clang::PartialDiagnostic& PDiag,
    clang::DiagnosticStorage* Storage)

Declared at: clang/include/clang/AST/DependentDiagnostic.h:102

Parameters

const clang::PartialDiagnostic& PDiag
clang::DiagnosticStorage* Storage

clang::AccessSpecifier getAccess() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:69

clang::QualType getAccessBaseObjectType() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:89

clang::SourceLocation getAccessLoc() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:74

clang::NamedDecl* getAccessNamingClass() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:84

clang::NamedDecl* getAccessTarget() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:79

const clang::PartialDiagnostic& getDiagnostic()
    const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:94

unsigned int getKind() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:60

bool isAccessToMember() const

Declared at: clang/include/clang/AST/DependentDiagnostic.h:64