class DLLImportAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private bool PropagatedToBaseTemplate = false

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::DLLImportAttr * Create(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::DLLImportAttr * Create(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::DLLImportAttr * CreateImplicit(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::DLLImportAttr * CreateImplicit(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public DLLImportAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static bool classof(const clang::Attr * A)
  • public clang::DLLImportAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setPropagatedToBaseTemplate()
  • public bool wasPropagatedToBaseTemplate()

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::DLLImportAttr* Create(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

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

static clang::DLLImportAttr* Create(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

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

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

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

Parameters

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

static clang::DLLImportAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

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

DLLImportAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

const char* getSpelling() const

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

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

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

Parameters

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

void setPropagatedToBaseTemplate()

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

bool wasPropagatedToBaseTemplate()

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