class TargetClonesAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int featuresStrs_Size
private llvm::StringRef* featuresStrs_

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::TargetClonesAttr * Create(clang::ASTContext & Ctx, llvm::StringRef * FeaturesStrs, unsigned int FeaturesStrsSize, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::TargetClonesAttr * Create(clang::ASTContext & Ctx, llvm::StringRef * FeaturesStrs, unsigned int FeaturesStrsSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::TargetClonesAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef * FeaturesStrs, unsigned int FeaturesStrsSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::TargetClonesAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef * FeaturesStrs, unsigned int FeaturesStrsSize, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public TargetClonesAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef * FeaturesStrs, unsigned int FeaturesStrsSize)
  • public TargetClonesAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static bool classof(const clang::Attr * A)
  • public clang::TargetClonesAttr * clone(clang::ASTContext & C) const
  • public llvm::iterator_range<featuresStrs_iterator> featuresStrs() const
  • public clang::TargetClonesAttr::featuresStrs_iterator featuresStrs_begin() const
  • public clang::TargetClonesAttr::featuresStrs_iterator featuresStrs_end() const
  • public unsigned int featuresStrs_size() const
  • public llvm::StringRef getFeatureStr(unsigned int Index) const
  • public unsigned int getMangledIndex(unsigned int Index) const
  • public const char * getSpelling() const
  • public bool isFirstOfVersion(unsigned int Index) const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::TargetClonesAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef* FeaturesStrs,
    unsigned int FeaturesStrsSize,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* FeaturesStrs
unsigned int FeaturesStrsSize
const clang::AttributeCommonInfo& CommonInfo

static clang::TargetClonesAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef* FeaturesStrs,
    unsigned int FeaturesStrsSize,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* FeaturesStrs
unsigned int FeaturesStrsSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::TargetClonesAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef* FeaturesStrs,
    unsigned int FeaturesStrsSize,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* FeaturesStrs
unsigned int FeaturesStrsSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::TargetClonesAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef* FeaturesStrs,
    unsigned int FeaturesStrsSize,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* FeaturesStrs
unsigned int FeaturesStrsSize
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

TargetClonesAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef* FeaturesStrs,
    unsigned int FeaturesStrsSize)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
llvm::StringRef* FeaturesStrs
unsigned int FeaturesStrsSize

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

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

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:11449

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::iterator_range<featuresStrs_iterator>
featuresStrs() const

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

clang::TargetClonesAttr::featuresStrs_iterator
featuresStrs_begin() const

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

clang::TargetClonesAttr::featuresStrs_iterator
featuresStrs_end() const

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

unsigned int featuresStrs_size() const

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

llvm::StringRef getFeatureStr(
    unsigned int Index) const

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

Parameters

unsigned int Index

unsigned int getMangledIndex(
    unsigned int Index) const

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

Parameters

unsigned int Index

const char* getSpelling() const

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

bool isFirstOfVersion(unsigned int Index) const

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

Parameters

unsigned int Index

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

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

Parameters

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