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 (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.
|
inline |
std::string FunctionEffectWithCondition::description | ( | ) | const |
Return a textual description of the effect, and its condition, if any.
Definition at line 5425 of file Type.cpp.
References Cond, Effect, clang::EffectConditionExpr::getCondition(), clang::FunctionEffect::name(), and clang::Result.
Referenced by clang::Sema::diagnoseConflictingFunctionEffect().
|
friend |
EffectConditionExpr clang::FunctionEffectWithCondition::Cond |
FunctionEffect clang::FunctionEffectWithCondition::Effect |