|
LLDB mainline
|
RAII guard that pushes a policy on construction and pops on destruction. More...
#include <Policy.h>
Public Member Functions | |
| Guard (Policy policy) | |
| ~Guard () | |
| Guard (const Guard &)=delete | |
| Guard & | operator= (const Guard &)=delete |
RAII guard that pushes a policy on construction and pops on destruction.
|
inlineexplicit |
Definition at line 106 of file Policy.h.
References lldb_private::PolicyStack::Get(), and lldb_private::PolicyStack::Push().
Referenced by Guard(), and operator=().
|
inline |
Definition at line 107 of file Policy.h.
References lldb_private::PolicyStack::Get(), and lldb_private::PolicyStack::Pop().