clang 22.0.0git
|
A FunctionEffect plus a potential boolean expression determining whether the effect is declared (e.g. More...
#include "clang/AST/TypeBase.h"
Public Member Functions | |
FunctionEffectWithCondition (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 |
Friends | |
raw_ostream & | operator<< (raw_ostream &OS, const FunctionEffectWithCondition &CFE) |
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.
Definition at line 5001 of file TypeBase.h.
|
inline |
Definition at line 5005 of file TypeBase.h.
References clang::C, Cond, and Effect.
Referenced by operator<<.
std::string FunctionEffectWithCondition::description | ( | ) | const |
Return a textual description of the effect, and its condition, if any.
Definition at line 5731 of file Type.cpp.
References Cond, Effect, and clang::Result.
Referenced by clang::Sema::diagnoseConflictingFunctionEffect().
|
friend |
Definition at line 5693 of file Type.cpp.
References Cond, clang::Stmt::dump(), Effect, FunctionEffectWithCondition(), clang::EffectConditionExpr::getCondition(), and clang::FunctionEffect::name().
EffectConditionExpr clang::FunctionEffectWithCondition::Cond |
Definition at line 5003 of file TypeBase.h.
Referenced by description(), clang::Sema::diagnoseConflictingFunctionEffect(), clang::Sema::FunctionEffectDiffVector::FunctionEffectDiffVector(), FunctionEffectWithCondition(), clang::FunctionEffectSet::insert(), operator<<, and clang::TreeTransform< Derived >::TransformFunctionProtoType().
FunctionEffect clang::FunctionEffectWithCondition::Effect |
Definition at line 5002 of file TypeBase.h.
Referenced by description(), clang::Sema::diagnoseConflictingFunctionEffect(), clang::Sema::FunctionEffectDiffVector::FunctionEffectDiffVector(), FunctionEffectWithCondition(), clang::FunctionEffectSet::insert(), operator<<, and clang::TreeTransform< Derived >::TransformFunctionProtoType().