Home
last modified time | relevance | path

Searched refs:scope_exit (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DScopeExit.h25 template <typename Callable> class scope_exit {
31 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function
33 scope_exit(scope_exit &&Rhs) in scope_exit() function
37 scope_exit(const scope_exit &) = delete;
38 scope_exit &operator=(scope_exit &&) = delete;
39 scope_exit &operator=(const scope_exit &) = delete;
43 ~scope_exit() { in ~scope_exit()
57 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
59 return detail::scope_exit<typename std::decay<Callable>::type>( in make_scope_exit()
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-201916033 * infrun.c (fetch_inferior_event): Use scope_exit.
16035 * top.c (execute_command): Use scope_exit.
16036 * breakpoint.c (bpstat_do_actions): Use scope_exit.
16046 (fetch_inferior_event): Use scope_exit.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-201916033 * infrun.c (fetch_inferior_event): Use scope_exit.
16035 * top.c (execute_command): Use scope_exit.
16036 * breakpoint.c (bpstat_do_actions): Use scope_exit.
16046 (fetch_inferior_event): Use scope_exit.