LLVM 22.0.0git
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 2672 of file Attributes.cpp.

Member Function Documentation

◆ isSet()

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

Definition at line 2673 of file Attributes.cpp.

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

◆ set()

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

Definition at line 2679 of file Attributes.cpp.

References llvm::Function::addFnAttr().


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