class PragmaClangRodataSectionAttr

Declaration

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

Description

Attr - This represents one attribute.

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

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::PragmaClangRodataSectionAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Name, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::PragmaClangRodataSectionAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Name, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::PragmaClangRodataSectionAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Name, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::PragmaClangRodataSectionAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Name, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public PragmaClangRodataSectionAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef Name)
  • public static bool classof(const clang::Attr * A)
  • public clang::PragmaClangRodataSectionAttr * 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::PragmaClangRodataSectionAttr*
Create(
    clang::ASTContext& Ctx,
    llvm::StringRef Name,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

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:9352

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getName() const

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

unsigned int getNameLength() const

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

const char* getSpelling() const

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

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

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

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:9343

Parameters

clang::ASTContext& C
llvm::StringRef S