clang API Documentation

clang::ExprOwningPtr< T > Class Template Reference

#include <Sema.h>

Inheritance diagram for clang::ExprOwningPtr< T >:
Inheritance graph
[legend]
Collaboration diagram for clang::ExprOwningPtr< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExprOwningPtr (Sema *S, T *expr)
void reset (T *p)
T * get () const
 Access to the raw pointer.
T * take ()
 Release the raw pointer.
T * release ()
 Alias for interface familiarity with unique_ptr.
T & operator* () const
T * operator-> () const

Detailed Description

template<typename T>
class clang::ExprOwningPtr< T >

Definition at line 4779 of file Sema.h.


Constructor & Destructor Documentation

template<typename T>
clang::ExprOwningPtr< T >::ExprOwningPtr ( Sema S,
T *  expr 
) [inline]

Definition at line 4781 of file Sema.h.


Member Function Documentation

template<typename T>
T* clang::ExprOwningPtr< T >::get (  )  const [inline]
template<typename T>
T& clang::ExprOwningPtr< T >::operator* (  )  const [inline]

Definition at line 4788 of file Sema.h.

template<typename T>
T* clang::ExprOwningPtr< T >::operator-> (  )  const [inline]

Definition at line 4789 of file Sema.h.

template<typename T>
T* clang::ExprOwningPtr< T >::release (  )  [inline]
template<typename T>
void clang::ExprOwningPtr< T >::reset ( T *  p  )  [inline]

Definition at line 4783 of file Sema.h.

References clang::ASTOwningPtr< Expr * >::operator=().

template<typename T>
T* clang::ExprOwningPtr< T >::take (  )  [inline]

Release the raw pointer.

Reimplemented from clang::ASTOwningPtr< Expr * >.

Definition at line 4785 of file Sema.h.

Referenced by clang::Sema::BuildResolvedCallExpr(), and clang::ExprOwningPtr< T >::release().


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