class OMPCaptureKindAttr

Declaration

class OMPCaptureKindAttr : public Attr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: Attr

Member Variables

private unsigned int captureKindVal

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

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::OMPCaptureKindAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int CaptureKindVal,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
unsigned int CaptureKindVal
const clang::AttributeCommonInfo& CommonInfo

static clang::OMPCaptureKindAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int CaptureKindVal,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int CaptureKindVal
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::OMPCaptureKindAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int CaptureKindVal,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

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

static clang::OMPCaptureKindAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int CaptureKindVal,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int CaptureKindVal
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

OMPCaptureKindAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    unsigned int CaptureKindVal)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
unsigned int CaptureKindVal

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::omp::Clause getCaptureKind() const

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

unsigned int getCaptureKindVal() const

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

const char* getSpelling() const

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

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

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

Parameters

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