class ObjCCompatibleAliasDecl

Declaration

class ObjCCompatibleAliasDecl : public NamedDecl { /* full declaration omitted */ };

Description

ObjCCompatibleAliasDecl - Represents alias of a class. This alias is declared as @ compatibility_alias alias class.

Declared at: clang/include/clang/AST/DeclObjC.h:2723

Inherits from: NamedDecl

Member Variables

private clang::ObjCInterfaceDecl* AliasedClass
Class that this is an alias of.

Inherited from Decl:

protected NextInContextAndBits
protected Access
protected FromASTFile
protected IdentifierNamespace
protected CacheValidAndLinkage

Method Overview

  • public static clang::ObjCCompatibleAliasDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation L, clang::IdentifierInfo * Id, clang::ObjCInterfaceDecl * aliasedClass)
  • public static clang::ObjCCompatibleAliasDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID)
  • private ObjCCompatibleAliasDecl(clang::DeclContext * DC, clang::SourceLocation L, clang::IdentifierInfo * Id, clang::ObjCInterfaceDecl * aliasedClass)
  • private void anchor()
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public const clang::ObjCInterfaceDecl * getClassInterface() const
  • public clang::ObjCInterfaceDecl * getClassInterface()
  • public void setClassInterface(clang::ObjCInterfaceDecl * D)

Inherited from NamedDecl:

Inherited from Decl:

Methods

static clang::ObjCCompatibleAliasDecl* Create(
    clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::SourceLocation L,
    clang::IdentifierInfo* Id,
    clang::ObjCInterfaceDecl* aliasedClass)

Declared at: clang/include/clang/AST/DeclObjC.h:2734

Parameters

clang::ASTContext& C
clang::DeclContext* DC
clang::SourceLocation L
clang::IdentifierInfo* Id
clang::ObjCInterfaceDecl* aliasedClass

static clang::ObjCCompatibleAliasDecl*
CreateDeserialized(clang::ASTContext& C,
                   unsigned int ID)

Declared at: clang/include/clang/AST/DeclObjC.h:2738

Parameters

clang::ASTContext& C
unsigned int ID

ObjCCompatibleAliasDecl(
    clang::DeclContext* DC,
    clang::SourceLocation L,
    clang::IdentifierInfo* Id,
    clang::ObjCInterfaceDecl* aliasedClass)

Declared at: clang/include/clang/AST/DeclObjC.h:2727

Parameters

clang::DeclContext* DC
clang::SourceLocation L
clang::IdentifierInfo* Id
clang::ObjCInterfaceDecl* aliasedClass

void anchor()

Declared at: clang/include/clang/AST/DeclObjC.h:2731

static bool classof(const clang::Decl* D)

Declared at: clang/include/clang/AST/DeclObjC.h:2745

Parameters

const clang::Decl* D

static bool classofKind(clang::Decl::Kind K)

Declared at: clang/include/clang/AST/DeclObjC.h:2746

Parameters

clang::Decl::Kind K

const clang::ObjCInterfaceDecl*
getClassInterface() const

Declared at: clang/include/clang/AST/DeclObjC.h:2741

clang::ObjCInterfaceDecl* getClassInterface()

Declared at: clang/include/clang/AST/DeclObjC.h:2742

void setClassInterface(
    clang::ObjCInterfaceDecl* D)

Declared at: clang/include/clang/AST/DeclObjC.h:2743

Parameters

clang::ObjCInterfaceDecl* D