clang API Documentation
Apply a self-argument to a self-applicable function. More...
#include <ThreadSafetyTIL.h>
Public Member Functions | |
SApply (SExpr *Sf, SExpr *A=nullptr) | |
SApply (SApply &A, SExpr *Sf, SExpr *Ar=nullptr) | |
SExpr * | sfun () |
const SExpr * | sfun () const |
SExpr * | arg () |
const SExpr * | arg () const |
bool | isDelegation () const |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const SApply *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Apply a self-argument to a self-applicable function.
Definition at line 870 of file ThreadSafetyTIL.h.
clang::threadSafety::til::SApply::SApply | ( | SExpr * | Sf, |
SExpr * | A = nullptr |
||
) | [inline] |
Definition at line 874 of file ThreadSafetyTIL.h.
clang::threadSafety::til::SApply::SApply | ( | SApply & | A, |
SExpr * | Sf, | ||
SExpr * | Ar = nullptr |
||
) | [inline] |
Definition at line 875 of file ThreadSafetyTIL.h.
SExpr* clang::threadSafety::til::SApply::arg | ( | ) | [inline] |
Definition at line 881 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printSApply().
const SExpr* clang::threadSafety::til::SApply::arg | ( | ) | const [inline] |
Definition at line 882 of file ThreadSafetyTIL.h.
static bool clang::threadSafety::til::SApply::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 872 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::SApply::compare | ( | const SApply * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 895 of file ThreadSafetyTIL.h.
bool clang::threadSafety::til::SApply::isDelegation | ( | ) | const [inline] |
Definition at line 884 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printSApply().
SExpr* clang::threadSafety::til::SApply::sfun | ( | ) | [inline] |
Definition at line 878 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printSApply().
const SExpr* clang::threadSafety::til::SApply::sfun | ( | ) | const [inline] |
Definition at line 879 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::SApply::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 887 of file ThreadSafetyTIL.h.