clang: clang::FunctionEffect Class Reference (original) (raw)
Represents an abstract function effect, using just an enumeration describing its kind. More...
#include "[clang/AST/TypeBase.h](TypeBase%5F8h%5Fsource.html)"
Represents an abstract function effect, using just an enumeration describing its kind.
Definition at line 4867 of file TypeBase.h.
◆ Flags
Flags describing some behaviors of the effect.
Definition at line 4880 of file TypeBase.h.
◆ FlagBit
| Enumerator |
| FE_InferrableOnCallees |
| FE_ExcludeThrow |
| FE_ExcludeCatch |
| FE_ExcludeObjCMessageSend |
| FE_ExcludeStaticLocalVars |
| FE_ExcludeThreadLocalVars |
Definition at line 4881 of file TypeBase.h.
◆ Kind
Identifies the particular effect.
| Enumerator |
| NonBlocking |
| NonAllocating |
| Blocking |
| Allocating |
| Last |
Definition at line 4870 of file TypeBase.h.
| clang::FunctionEffect::FunctionEffect ( Kind K) |
inlineexplicit |
◆ effectProhibitingInference()
◆ flags()
| Flags clang::FunctionEffect::flags ( ) const |
inline |
Flags describing some behaviors of the effect.
Definition at line 4918 of file TypeBase.h.
References Allocating, Blocking, FE_ExcludeCatch, FE_ExcludeObjCMessageSend, FE_ExcludeStaticLocalVars, FE_ExcludeThreadLocalVars, FE_ExcludeThrow, FE_InferrableOnCallees, kind(), NonAllocating, and NonBlocking.
◆ fromOpaqueInt32()
| FunctionEffect clang::FunctionEffect::fromOpaqueInt32 ( uint32_t Value) |
inlinestatic |
◆ kind()
| Kind clang::FunctionEffect::kind ( ) const |
inline |
◆ name()
| StringRef FunctionEffect::name |
( |
) |
const |
◆ oppositeKind()
◆ shouldDiagnoseFunctionCall()
◆ toOpaqueInt32()
| uint32_t clang::FunctionEffect::toOpaqueInt32 ( ) const |
inline |
◆ operator!=
◆ operator<
◆ operator<<
| raw_ostream & operator<< ( raw_ostream & OS, const FunctionEffect & Effect ) |
friend |
◆ operator==
◆ KindCount
The documentation for this class was generated from the following files: