clang 20.0.0git
|
A FunctionEffect plus a potential boolean expression determining whether the effect is declared (e.g. More...
#include "clang/AST/Type.h"
Public Member Functions | |
FunctionEffectWithCondition ()=default | |
FunctionEffectWithCondition (const FunctionEffect &E, const EffectConditionExpr &C) | |
std::string | description () const |
Return a textual description of the effect, and its condition, if any. | |
Public Attributes | |
FunctionEffect | Effect |
EffectConditionExpr | Cond |
A FunctionEffect plus a potential boolean expression determining whether the effect is declared (e.g.
nonblocking(expr)). Generally the condition expression when present, is dependent.
|
default |
|
inline |
std::string FunctionEffectWithCondition::description | ( | ) | const |
Return a textual description of the effect, and its condition, if any.
Definition at line 5332 of file Type.cpp.
References Cond, Effect, clang::EffectConditionExpr::getCondition(), clang::FunctionEffect::name(), and clang::Result.
Referenced by clang::Sema::diagnoseConflictingFunctionEffect().
EffectConditionExpr clang::FunctionEffectWithCondition::Cond |
Definition at line 4822 of file Type.h.
Referenced by description(), clang::Sema::diagnoseConflictingFunctionEffect(), clang::FunctionEffectDifferences::FunctionEffectDifferences(), clang::FunctionEffectSet::insert(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().
FunctionEffect clang::FunctionEffectWithCondition::Effect |
Definition at line 4821 of file Type.h.
Referenced by description(), clang::Sema::diagnoseConflictingFunctionEffect(), clang::FunctionEffectDiff::effectName(), clang::FunctionEffectDifferences::FunctionEffectDifferences(), clang::FunctionEffectSet::insert(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().