LLVM 19.0.0git
Static Public Member Functions | List of all members
EnumAttr Struct Reference

Static Public Member Functions

static bool isSet (const Function &Fn, Attribute::AttrKind Kind)
static void set (Function &Fn, Attribute::AttrKind Kind, bool Val)

Detailed Description

Definition at line 2345 of file Attributes.cpp.

Member Function Documentation

◆ isSet()

static bool EnumAttr::isSet ( const Function Fn,
Attribute::AttrKind  Kind 

Definition at line 2346 of file Attributes.cpp.

References llvm::Function::hasFnAttribute().

◆ set()

static void EnumAttr::set ( Function Fn,
Attribute::AttrKind  Kind,
bool  Val 

Definition at line 2351 of file Attributes.cpp.

References llvm::Function::addFnAttr(), and llvm::Function::removeFnAttr().

The documentation for this struct was generated from the following file: