LLVM 20.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 2569 of file Attributes.cpp.

Member Function Documentation

◆ isSet()

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

Definition at line 2570 of file Attributes.cpp.

References llvm::Function::hasFnAttribute().

◆ set()

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

Definition at line 2575 of file Attributes.cpp.

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


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