class PragmaClangRelroSectionAttr

Declaration

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

Description

Attr - This represents one attribute.

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getName() const

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

unsigned int getNameLength() const

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

const char* getSpelling() const

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

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

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

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

Parameters

clang::ASTContext& C
llvm::StringRef S