class AllocAlignAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::ParamIdx paramIndex

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public AllocAlignAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::ParamIdx ParamIndex)
  • public static clang::AllocAlignAttr * Create(clang::ASTContext & Ctx, clang::ParamIdx ParamIndex, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::AllocAlignAttr * Create(clang::ASTContext & Ctx, clang::ParamIdx ParamIndex, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::AllocAlignAttr * CreateImplicit(clang::ASTContext & Ctx, clang::ParamIdx ParamIndex, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::AllocAlignAttr * CreateImplicit(clang::ASTContext & Ctx, clang::ParamIdx ParamIndex, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static bool classof(const clang::Attr * A)
  • public clang::AllocAlignAttr * clone(clang::ASTContext & C) const
  • public clang::ParamIdx getParamIndex() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

AllocAlignAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::ParamIdx ParamIndex)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::ParamIdx ParamIndex

static clang::AllocAlignAttr* Create(
    clang::ASTContext& Ctx,
    clang::ParamIdx ParamIndex,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::ParamIdx ParamIndex
const clang::AttributeCommonInfo& CommonInfo

static clang::AllocAlignAttr* Create(
    clang::ASTContext& Ctx,
    clang::ParamIdx ParamIndex,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::ParamIdx ParamIndex
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::AllocAlignAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::ParamIdx ParamIndex,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::ParamIdx ParamIndex
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::AllocAlignAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::ParamIdx ParamIndex,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::ParamIdx ParamIndex
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::ParamIdx getParamIndex() const

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

const char* getSpelling() const

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

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

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

Parameters

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