clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::threadSafety::til::Future Class Reference

#include <ThreadSafetyTIL.h>

Inheritance diagram for clang::threadSafety::til::Future:
Inheritance graph
[legend]
Collaboration diagram for clang::threadSafety::til::Future:
Collaboration graph
[legend]

List of all members.

Public Types

enum  FutureStatus { FS_pending, FS_evaluating, FS_done }

Public Member Functions

 Future ()
virtual SExprcompute ()
SExprmaybeGetResult () const
SExprresult ()
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)

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
FS_pending 
FS_evaluating 
FS_done 

Definition at line 419 of file ThreadSafetyTIL.h.


Constructor & Destructor Documentation

Definition at line 425 of file ThreadSafetyTIL.h.


Member Function Documentation

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().

template<class C >
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.

Definition at line 440 of file ThreadSafetyTIL.h.

template<class V >
V::R_SExpr clang::threadSafety::til::Future::traverse ( V &  Vs,
typename V::R_Ctx  Ctx 
) [inline]

Definition at line 452 of file ThreadSafetyTIL.h.


The documentation for this class was generated from the following files: