LLVM
8.0.1
|
A utility class that uses RAII to save and restore the value of a variable. More...
#include "llvm/Support/SaveAndRestore.h"
Public Member Functions | |
SaveAndRestore (T &X) | |
SaveAndRestore (T &X, const T &NewValue) | |
~SaveAndRestore () | |
T | get () |
A utility class that uses RAII to save and restore the value of a variable.
Definition at line 22 of file SaveAndRestore.h.
|
inline |
Definition at line 23 of file SaveAndRestore.h.
|
inline |
Definition at line 24 of file SaveAndRestore.h.
|
inline |
Definition at line 27 of file SaveAndRestore.h.
|
inline |
Definition at line 28 of file SaveAndRestore.h.