clang API Documentation
#include <ThreadSafetyTIL.h>
Public Types | |
enum | FutureStatus { FS_pending, FS_evaluating, FS_done } |
Public Member Functions | |
Future () | |
virtual SExpr * | compute () |
SExpr * | maybeGetResult () const |
SExpr * | result () |
template<class V > | |
V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
template<class C > | |
C::CType | compare (const Future *E, C &Cmp) const |
Static Public Member Functions | |
static bool | classof (const SExpr *E) |
Placeholder for an expression that has not yet been created. Used to implement lazy copy and rewriting strategies.
Definition at line 415 of file ThreadSafetyTIL.h.
Definition at line 419 of file ThreadSafetyTIL.h.
clang::threadSafety::til::Future::Future | ( | ) | [inline] |
Definition at line 425 of file ThreadSafetyTIL.h.
static bool clang::threadSafety::til::Future::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 417 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
C::CType clang::threadSafety::til::Future::compare | ( | const Future * | E, |
C & | Cmp | ||
) | const [inline] |
Definition at line 458 of file ThreadSafetyTIL.h.
virtual SExpr* clang::threadSafety::til::Future::compute | ( | ) | [inline, virtual] |
Definition at line 432 of file ThreadSafetyTIL.h.
SExpr* clang::threadSafety::til::Future::maybeGetResult | ( | ) | const [inline] |
Definition at line 435 of file ThreadSafetyTIL.h.
Referenced by clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printFuture().
SExpr* clang::threadSafety::til::Future::result | ( | ) | [inline] |
Definition at line 440 of file ThreadSafetyTIL.h.
V::R_SExpr clang::threadSafety::til::Future::traverse | ( | V & | Vs, |
typename V::R_Ctx | Ctx | ||
) | [inline] |
Definition at line 452 of file ThreadSafetyTIL.h.