LLVM: EnumAttr Struct Reference (original) (raw)
| 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 2663 of file Attributes.cpp.
Member Function Documentation
◆ isSet()
| bool EnumAttr::isSet ( const Function & Fn, Attribute::AttrKind Kind ) | inlinestatic |
|---|
Definition at line 2664 of file Attributes.cpp.
References llvm::Function::hasFnAttribute().
◆ set()
| void EnumAttr::set ( Function & Fn, Attribute::AttrKind Kind, bool Val ) | inlinestatic |
|---|
Definition at line 2669 of file Attributes.cpp.
References llvm::Function::addFnAttr(), and llvm::Function::removeFnAttr().
The documentation for this struct was generated from the following file:
- lib/IR/Attributes.cpp