class InitSegAttr

Declaration

class InitSegAttr : public Attr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: Attr

Member Variables

private unsigned int sectionLength
private char* section

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::InitSegAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Section, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::InitSegAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Section, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::InitSegAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Section, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::InitSegAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Section, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public InitSegAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef Section)
  • public static bool classof(const clang::Attr * A)
  • public clang::InitSegAttr * clone(clang::ASTContext & C) const
  • public llvm::StringRef getSection() const
  • public unsigned int getSectionLength() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void printPrettyPragma(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setSection(clang::ASTContext & C, llvm::StringRef S)

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::InitSegAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef Section,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Section
const clang::AttributeCommonInfo& CommonInfo

static clang::InitSegAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef Section,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Section
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::InitSegAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef Section,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Section
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::InitSegAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef Section,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Section
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

InitSegAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef Section)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
llvm::StringRef Section

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getSection() const

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

unsigned int getSectionLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

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

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

Parameters

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

void setSection(clang::ASTContext& C,
                llvm::StringRef S)

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

Parameters

clang::ASTContext& C
llvm::StringRef S