LLVM 20.0.0git
Static Public Member Functions | List of all members
StrBoolAttr Struct Reference

Static Public Member Functions

static bool isSet (const Function &Fn, StringRef Kind)
 
static void set (Function &Fn, StringRef Kind, bool Val)
 

Detailed Description

Definition at line 2364 of file Attributes.cpp.

Member Function Documentation

◆ isSet()

static bool StrBoolAttr::isSet ( const Function Fn,
StringRef  Kind 
)
inlinestatic

Definition at line 2365 of file Attributes.cpp.

References A, and llvm::Function::getFnAttribute().

◆ set()

static void StrBoolAttr::set ( Function Fn,
StringRef  Kind,
bool  Val 
)
inlinestatic

Definition at line 2371 of file Attributes.cpp.

References llvm::Function::addFnAttr().


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