class BTFDeclTagAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int bTFDeclTagLength
private char* bTFDeclTag

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public BTFDeclTagAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef BTFDeclTag)
  • public static clang::BTFDeclTagAttr * Create(clang::ASTContext & Ctx, llvm::StringRef BTFDeclTag, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::BTFDeclTagAttr * Create(clang::ASTContext & Ctx, llvm::StringRef BTFDeclTag, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::BTFDeclTagAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef BTFDeclTag, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::BTFDeclTagAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef BTFDeclTag, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static bool classof(const clang::Attr * A)
  • public clang::BTFDeclTagAttr * clone(clang::ASTContext & C) const
  • public llvm::StringRef getBTFDeclTag() const
  • public unsigned int getBTFDeclTagLength() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setBTFDeclTag(clang::ASTContext & C, llvm::StringRef S)

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

BTFDeclTagAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef BTFDeclTag)

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getBTFDeclTag() const

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

unsigned int getBTFDeclTagLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

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

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

Parameters

clang::ASTContext& C
llvm::StringRef S