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 2266 of file Attributes.cpp.

Member Function Documentation

◆ isSet()

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

Definition at line 2267 of file Attributes.cpp.

References llvm::Function::hasFnAttribute().

◆ set()

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

Definition at line 2272 of file Attributes.cpp.

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


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