class ObjCBridgeRelatedAttr

Declaration

class ObjCBridgeRelatedAttr : public InheritableAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7635

Inherits from: InheritableAttr

Member Variables

private clang::IdentifierInfo* relatedClass
private clang::IdentifierInfo* classMethod
private clang::IdentifierInfo* instanceMethod

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public static clang::ObjCBridgeRelatedAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * RelatedClass, clang::IdentifierInfo * ClassMethod, clang::IdentifierInfo * InstanceMethod, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::ObjCBridgeRelatedAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * RelatedClass, clang::IdentifierInfo * ClassMethod, clang::IdentifierInfo * InstanceMethod, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::ObjCBridgeRelatedAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * RelatedClass, clang::IdentifierInfo * ClassMethod, clang::IdentifierInfo * InstanceMethod, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::ObjCBridgeRelatedAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * RelatedClass, clang::IdentifierInfo * ClassMethod, clang::IdentifierInfo * InstanceMethod, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public ObjCBridgeRelatedAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::IdentifierInfo * RelatedClass, clang::IdentifierInfo * ClassMethod, clang::IdentifierInfo * InstanceMethod)
  • public static bool classof(const clang::Attr * A)
  • public clang::ObjCBridgeRelatedAttr * clone(clang::ASTContext & C) const
  • public clang::IdentifierInfo * getClassMethod() const
  • public clang::IdentifierInfo * getInstanceMethod() const
  • public clang::IdentifierInfo * getRelatedClass() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::ObjCBridgeRelatedAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* RelatedClass,
    clang::IdentifierInfo* ClassMethod,
    clang::IdentifierInfo* InstanceMethod,
    const clang::AttributeCommonInfo& CommonInfo)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7653

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* RelatedClass
clang::IdentifierInfo* ClassMethod
clang::IdentifierInfo* InstanceMethod
const clang::AttributeCommonInfo& CommonInfo

static clang::ObjCBridgeRelatedAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* RelatedClass,
    clang::IdentifierInfo* ClassMethod,
    clang::IdentifierInfo* InstanceMethod,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7655

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* RelatedClass
clang::IdentifierInfo* ClassMethod
clang::IdentifierInfo* InstanceMethod
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::ObjCBridgeRelatedAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* RelatedClass,
    clang::IdentifierInfo* ClassMethod,
    clang::IdentifierInfo* InstanceMethod,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7652

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* RelatedClass
clang::IdentifierInfo* ClassMethod
clang::IdentifierInfo* InstanceMethod
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::ObjCBridgeRelatedAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* RelatedClass,
    clang::IdentifierInfo* ClassMethod,
    clang::IdentifierInfo* InstanceMethod,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7654

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* RelatedClass
clang::IdentifierInfo* ClassMethod
clang::IdentifierInfo* InstanceMethod
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

ObjCBridgeRelatedAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::IdentifierInfo* RelatedClass,
    clang::IdentifierInfo* ClassMethod,
    clang::IdentifierInfo* InstanceMethod)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7658

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::IdentifierInfo* RelatedClass
clang::IdentifierInfo* ClassMethod
clang::IdentifierInfo* InstanceMethod

static bool classof(const clang::Attr* A)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7682

Parameters

const clang::Attr* A

clang::ObjCBridgeRelatedAttr* clone(
    clang::ASTContext& C) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7664

Parameters

clang::ASTContext& C

clang::IdentifierInfo* getClassMethod() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7672

clang::IdentifierInfo* getInstanceMethod() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7676

clang::IdentifierInfo* getRelatedClass() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7668

const char* getSpelling() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7667

void printPretty(
    llvm::raw_ostream& OS,
    const clang::PrintingPolicy& Policy) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:7665

Parameters

llvm::raw_ostream& OS
const clang::PrintingPolicy& Policy