class WebAssemblyExportNameAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int exportNameLength
private char* exportName

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::WebAssemblyExportNameAttr * Create(clang::ASTContext & Ctx, llvm::StringRef ExportName, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::WebAssemblyExportNameAttr * Create(clang::ASTContext & Ctx, llvm::StringRef ExportName, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::WebAssemblyExportNameAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef ExportName, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::WebAssemblyExportNameAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef ExportName, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public WebAssemblyExportNameAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef ExportName)
  • public static bool classof(const clang::Attr * A)
  • public clang::WebAssemblyExportNameAttr * clone(clang::ASTContext & C) const
  • public llvm::StringRef getExportName() const
  • public unsigned int getExportNameLength() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setExportName(clang::ASTContext & C, llvm::StringRef S)

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

WebAssemblyExportNameAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef ExportName)

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getExportName() const

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

unsigned int getExportNameLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

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

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

Parameters

clang::ASTContext& C
llvm::StringRef S