class SharedTrylockFunctionAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::Expr* successValue
private unsigned int args_Size
private clang::Expr** args_

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::SharedTrylockFunctionAttr * Create(clang::ASTContext & Ctx, clang::Expr * SuccessValue, clang::Expr ** Args, unsigned int ArgsSize, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::SharedTrylockFunctionAttr * Create(clang::ASTContext & Ctx, clang::Expr * SuccessValue, clang::Expr ** Args, unsigned int ArgsSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::SharedTrylockFunctionAttr * CreateImplicit(clang::ASTContext & Ctx, clang::Expr * SuccessValue, clang::Expr ** Args, unsigned int ArgsSize, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::SharedTrylockFunctionAttr * CreateImplicit(clang::ASTContext & Ctx, clang::Expr * SuccessValue, clang::Expr ** Args, unsigned int ArgsSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public SharedTrylockFunctionAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::Expr * SuccessValue, clang::Expr ** Args, unsigned int ArgsSize)
  • public SharedTrylockFunctionAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::Expr * SuccessValue)
  • public llvm::iterator_range<args_iterator> args() const
  • public clang::SharedTrylockFunctionAttr::args_iterator args_begin() const
  • public clang::SharedTrylockFunctionAttr::args_iterator args_end() const
  • public unsigned int args_size() const
  • public static bool classof(const clang::Attr * A)
  • public clang::SharedTrylockFunctionAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public clang::Expr * getSuccessValue() 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::SharedTrylockFunctionAttr* Create(
    clang::ASTContext& Ctx,
    clang::Expr* SuccessValue,
    clang::Expr** Args,
    unsigned int ArgsSize,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::Expr* SuccessValue
clang::Expr** Args
unsigned int ArgsSize
const clang::AttributeCommonInfo& CommonInfo

static clang::SharedTrylockFunctionAttr* Create(
    clang::ASTContext& Ctx,
    clang::Expr* SuccessValue,
    clang::Expr** Args,
    unsigned int ArgsSize,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::Expr* SuccessValue
clang::Expr** Args
unsigned int ArgsSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::SharedTrylockFunctionAttr*
CreateImplicit(clang::ASTContext& Ctx,
               clang::Expr* SuccessValue,
               clang::Expr** Args,
               unsigned int ArgsSize,
               const clang::AttributeCommonInfo&
                   CommonInfo = {
                       clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::Expr* SuccessValue
clang::Expr** Args
unsigned int ArgsSize
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::SharedTrylockFunctionAttr*
CreateImplicit(clang::ASTContext& Ctx,
               clang::Expr* SuccessValue,
               clang::Expr** Args,
               unsigned int ArgsSize,
               clang::SourceRange Range,
               AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::Expr* SuccessValue
clang::Expr** Args
unsigned int ArgsSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

SharedTrylockFunctionAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::Expr* SuccessValue,
    clang::Expr** Args,
    unsigned int ArgsSize)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::Expr* SuccessValue
clang::Expr** Args
unsigned int ArgsSize

SharedTrylockFunctionAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::Expr* SuccessValue)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::Expr* SuccessValue

llvm::iterator_range<args_iterator> args() const

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

clang::SharedTrylockFunctionAttr::args_iterator
args_begin() const

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

clang::SharedTrylockFunctionAttr::args_iterator
args_end() const

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

unsigned int args_size() const

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

const char* getSpelling() const

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

clang::Expr* getSuccessValue() const

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

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

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

Parameters

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