clang API Documentation

clang::ActionBase::ActionResult< PtrTy, CompressInvalid > Class Template Reference

#include <Ownership.h>

Inheritance diagram for clang::ActionBase::ActionResult< PtrTy, CompressInvalid >:
Inheritance graph
[legend]
Collaboration diagram for clang::ActionBase::ActionResult< PtrTy, CompressInvalid >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ActionResult (bool Invalid=false)
 ActionResult (PtrTy val)
 ActionResult (const DiagnosticBuilder &)
 ActionResult (const void *)
 ActionResult (volatile void *)
PtrTy get () const
void set (PtrTy V)
bool isInvalid () const
const ActionResultoperator= (PtrTy RHS)

Detailed Description

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
class clang::ActionBase::ActionResult< PtrTy, CompressInvalid >

ActionResult - This structure is used while parsing/acting on expressions, stmts, etc. It encapsulates both the object returned by the action, plus a sense of whether or not it is valid. When CompressInvalid is true, the "invalid" flag will be stored in the low bit of the Val pointer.

Definition at line 233 of file Ownership.h.


Constructor & Destructor Documentation

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult ( bool  Invalid = false  )  [inline]

Definition at line 238 of file Ownership.h.

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult ( PtrTy  val  )  [inline]

Definition at line 239 of file Ownership.h.

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult ( const DiagnosticBuilder  )  [inline]

Definition at line 240 of file Ownership.h.

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult ( const void *   ) 
template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult ( volatile void *   ) 

Member Function Documentation

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
PtrTy clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::get (  )  const [inline]
template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
bool clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::isInvalid (  )  const [inline]
template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
const ActionResult& clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::operator= ( PtrTy  RHS  )  [inline]

Definition at line 250 of file Ownership.h.

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
void clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::set ( PtrTy  V  )  [inline]

Definition at line 247 of file Ownership.h.


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