class ObjCGCAttr

Declaration

class ObjCGCAttr : public TypeAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: TypeAttr

Member Variables

private clang::IdentifierInfo* kind

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::ObjCGCAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * Kind, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::ObjCGCAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * Kind, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::ObjCGCAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * Kind, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::ObjCGCAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * Kind, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public ObjCGCAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::IdentifierInfo * Kind)
  • public static bool classof(const clang::Attr * A)
  • public clang::ObjCGCAttr * clone(clang::ASTContext & C) const
  • public clang::IdentifierInfo * getKind() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from TypeAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::ObjCGCAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* Kind,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* Kind
const clang::AttributeCommonInfo& CommonInfo

static clang::ObjCGCAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* Kind,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* Kind
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::ObjCGCAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* Kind,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* Kind
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::ObjCGCAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* Kind,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* Kind
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

ObjCGCAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::IdentifierInfo* Kind)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::IdentifierInfo* Kind

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::IdentifierInfo* getKind() const

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

const char* getSpelling() const

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

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

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

Parameters

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