class BTFTypeTagAttr

Declaration

class BTFTypeTagAttr : public TypeAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: TypeAttr

Member Variables

private unsigned int bTFTypeTagLength
private char* bTFTypeTag

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

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

Inherited from TypeAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

BTFTypeTagAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef BTFTypeTag)

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getBTFTypeTag() const

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

unsigned int getBTFTypeTagLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

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

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

Parameters

clang::ASTContext& C
llvm::StringRef S