clang API Documentation
Allocate memory for a new value on the heap or stack. More...
#include <ThreadSafetyTIL.h>


Public Types | |
| enum | AllocKind { AK_Stack, AK_Heap } |
Public Member Functions | |
| Alloc (SExpr *D, AllocKind K) | |
| Alloc (const Alloc &A, SExpr *Dt) | |
| AllocKind | kind () const |
| SExpr * | dataType () |
| const SExpr * | dataType () const |
| template<class V > | |
| V::R_SExpr | traverse (V &Vs, typename V::R_Ctx Ctx) |
| template<class C > | |
| C::CType | compare (const Alloc *E, C &Cmp) const |
Static Public Member Functions | |
| static bool | classof (const SExpr *E) |
Allocate memory for a new value on the heap or stack.
Definition at line 994 of file ThreadSafetyTIL.h.
Definition at line 998 of file ThreadSafetyTIL.h.
| clang::threadSafety::til::Alloc::Alloc | ( | SExpr * | D, |
| AllocKind | K | ||
| ) | [inline] |
Definition at line 1003 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
| clang::threadSafety::til::Alloc::Alloc | ( | const Alloc & | A, |
| SExpr * | Dt | ||
| ) | [inline] |
Definition at line 1004 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags, and kind().
| static bool clang::threadSafety::til::Alloc::classof | ( | const SExpr * | E | ) | [inline, static] |
Definition at line 996 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::opcode().
| C::CType clang::threadSafety::til::Alloc::compare | ( | const Alloc * | E, |
| C & | Cmp | ||
| ) | const [inline] |
Definition at line 1018 of file ThreadSafetyTIL.h.
References dataType(), and kind().
| SExpr* clang::threadSafety::til::Alloc::dataType | ( | ) | [inline] |
Definition at line 1008 of file ThreadSafetyTIL.h.
Referenced by compare(), and clang::threadSafety::til::PrettyPrinter< StdPrinter, std::ostream >::printAlloc().
| const SExpr* clang::threadSafety::til::Alloc::dataType | ( | ) | const [inline] |
Definition at line 1009 of file ThreadSafetyTIL.h.
| AllocKind clang::threadSafety::til::Alloc::kind | ( | ) | const [inline] |
Definition at line 1006 of file ThreadSafetyTIL.h.
References clang::threadSafety::til::SExpr::Flags.
| V::R_SExpr clang::threadSafety::til::Alloc::traverse | ( | V & | Vs, |
| typename V::R_Ctx | Ctx | ||
| ) | [inline] |
Definition at line 1012 of file ThreadSafetyTIL.h.