Home
last modified time | relevance | path

Searched defs:scope_exit (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopeExit.h32 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function
34 scope_exit(scope_exit &&Rhs) in scope_exit() function
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp755 struct scope_exit { struct
756 explicit scope_exit(Cleanup const& cleanup) : cleanup_(cleanup) {} in scope_exit() argument
758 ~scope_exit() { cleanup_(); } in ~scope_exit()
761 Cleanup cleanup_;