class PragmaClangDataSectionAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int nameLength
private char* name

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

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

PragmaClangDataSectionAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef Name)

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getName() const

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

unsigned int getNameLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

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

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

Parameters

clang::ASTContext& C
llvm::StringRef S