LLVM  10.0.0svn
Public Member Functions | List of all members
SwapAndRestore< T > Class Template Reference

#include "llvm/Demangle/Utility.h"

Public Member Functions

 SwapAndRestore (T &Restore_)
 
 SwapAndRestore (T &Restore_, T NewVal)
 
 ~SwapAndRestore ()
 
void shouldRestore (bool ShouldRestore_)
 
void restoreNow (bool Force)
 
 SwapAndRestore (const SwapAndRestore &)=delete
 
SwapAndRestoreoperator= (const SwapAndRestore &)=delete
 

Detailed Description

template<class T>
class SwapAndRestore< T >

Definition at line 143 of file Utility.h.

Constructor & Destructor Documentation

◆ SwapAndRestore() [1/3]

template<class T>
SwapAndRestore< T >::SwapAndRestore ( T Restore_)
inline

Definition at line 149 of file Utility.h.

◆ SwapAndRestore() [2/3]

template<class T>
SwapAndRestore< T >::SwapAndRestore ( T Restore_,
T  NewVal 
)
inline

Definition at line 151 of file Utility.h.

◆ ~SwapAndRestore()

template<class T>
SwapAndRestore< T >::~SwapAndRestore ( )
inline

Definition at line 155 of file Utility.h.

◆ SwapAndRestore() [3/3]

template<class T>
SwapAndRestore< T >::SwapAndRestore ( const SwapAndRestore< T > &  )
delete

Member Function Documentation

◆ operator=()

template<class T>
SwapAndRestore& SwapAndRestore< T >::operator= ( const SwapAndRestore< T > &  )
delete

◆ restoreNow()

template<class T>
void SwapAndRestore< T >::restoreNow ( bool  Force)
inline

Definition at line 162 of file Utility.h.

◆ shouldRestore()

template<class T>
void SwapAndRestore< T >::shouldRestore ( bool  ShouldRestore_)
inline

Definition at line 160 of file Utility.h.


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