Represents an abstract function effect, using just an enumeration describing its kind. More...
#include "clang/AST/Type.h"
Represents an abstract function effect, using just an enumeration describing its kind.
Definition at line 4722 of file Type.h.
◆ FlagsFlags describing some behaviors of the effect.
Definition at line 4735 of file Type.h.
◆ FlagBit Enumerator FE_InferrableOnCallees FE_ExcludeThrow FE_ExcludeCatch FE_ExcludeObjCMessageSend FE_ExcludeStaticLocalVars FE_ExcludeThreadLocalVarsDefinition at line 4736 of file Type.h.
◆ KindIdentifies the particular effect.
Enumerator NonBlocking NonAllocating Blocking Allocating LastDefinition at line 4725 of file Type.h.
◆ FunctionEffect() clang::FunctionEffect::FunctionEffect ( Kind K ) inlineexplicitDefinition at line 4758 of file Type.h.
◆ effectProhibitingInference()Determine whether the effect is allowed to be inferred on the callee, which is either a FunctionDecl or BlockDecl.
If the returned optional is empty, inference is permitted; otherwise it holds the effect which blocked inference. Example: This allows nonblocking(false) to prevent inference for the function.
Definition at line 5235 of file Type.cpp.
References Allocating, Blocking, kind(), NonAllocating, and NonBlocking.
◆ flags() Flags clang::FunctionEffect::flags ( ) const inlineFlags describing some behaviors of the effect.
Definition at line 4773 of file Type.h.
◆ fromOpaqueInt32() static 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 inlineFor serialization.
Definition at line 4767 of file Type.h.
◆ operator!= ◆ operator< ◆ operator<< raw_ostream & operator<< ( raw_ostream & OS, const FunctionEffect & Effect ) friendDefinition at line 4793 of file Type.h.
◆ operator== ◆ KindCountThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4