clang 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
clang::FunctionEffectKindSet Class Reference

A mutable set of FunctionEffect::Kind. More...

#include "clang/AST/Type.h"

Public Member Functions

 FunctionEffectKindSet ()=default
 
 FunctionEffectKindSet (FunctionEffectsRef FX)
 
iterator begin () const
 
iterator end () const
 
void insert (FunctionEffect Effect)
 
void insert (FunctionEffectsRef FX)
 
void insert (FunctionEffectKindSet Set)
 
bool empty () const
 
bool contains (const FunctionEffect::Kind EK) const
 
void dump (llvm::raw_ostream &OS) const
 

Static Public Member Functions

static FunctionEffectKindSet difference (FunctionEffectKindSet LHS, FunctionEffectKindSet RHS)
 

Detailed Description

A mutable set of FunctionEffect::Kind.

Definition at line 4957 of file Type.h.

Constructor & Destructor Documentation

◆ FunctionEffectKindSet() [1/2]

clang::FunctionEffectKindSet::FunctionEffectKindSet ( )
default

◆ FunctionEffectKindSet() [2/2]

clang::FunctionEffectKindSet::FunctionEffectKindSet ( FunctionEffectsRef  FX)
inlineexplicit

Definition at line 5011 of file Type.h.

Member Function Documentation

◆ begin()

iterator clang::FunctionEffectKindSet::begin ( ) const
inline

Definition at line 5013 of file Type.h.

◆ contains()

bool clang::FunctionEffectKindSet::contains ( const FunctionEffect::Kind  EK) const
inline

Definition at line 5024 of file Type.h.

◆ difference()

static FunctionEffectKindSet clang::FunctionEffectKindSet::difference ( FunctionEffectKindSet  LHS,
FunctionEffectKindSet  RHS 
)
inlinestatic

Definition at line 5029 of file Type.h.

◆ dump()

LLVM_DUMP_METHOD void FunctionEffectKindSet::dump ( llvm::raw_ostream &  OS) const

Definition at line 5410 of file Type.cpp.

◆ empty()

bool clang::FunctionEffectKindSet::empty ( ) const
inline

Definition at line 5023 of file Type.h.

◆ end()

iterator clang::FunctionEffectKindSet::end ( ) const
inline

Definition at line 5014 of file Type.h.

◆ insert() [1/3]

void clang::FunctionEffectKindSet::insert ( FunctionEffect  Effect)
inline

Definition at line 5016 of file Type.h.

References clang::FunctionEffect::kind().

Referenced by clang::Sema::addDeclWithEffects().

◆ insert() [2/3]

void clang::FunctionEffectKindSet::insert ( FunctionEffectKindSet  Set)
inline

Definition at line 5021 of file Type.h.

References clang::Set.

◆ insert() [3/3]

void clang::FunctionEffectKindSet::insert ( FunctionEffectsRef  FX)
inline

Definition at line 5017 of file Type.h.

References clang::FunctionEffectsRef::effects().


The documentation for this class was generated from the following files: