clang API Documentation

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

Allocate memory for a new value on the heap or stack. More...

#include <ThreadSafetyTIL.h>

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

List of all members.

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
SExprdataType ()
const SExprdataType () 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)

Detailed Description

Allocate memory for a new value on the heap or stack.

Definition at line 994 of file ThreadSafetyTIL.h.


Member Enumeration Documentation

Enumerator:
AK_Stack 
AK_Heap 

Definition at line 998 of file ThreadSafetyTIL.h.


Constructor & Destructor Documentation

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


Member Function Documentation

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

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

Definition at line 1009 of file ThreadSafetyTIL.h.

Definition at line 1006 of file ThreadSafetyTIL.h.

References clang::threadSafety::til::SExpr::Flags.

Referenced by Alloc(), and compare().

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

Definition at line 1012 of file ThreadSafetyTIL.h.


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