Home
last modified time | relevance | path

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

/external/python/pybind11/tests/test_embed/
Dtest_interpreter.cpp238 struct scope_exit { struct
240 explicit scope_exit(std::function<void()> f) noexcept : f_(std::move(f)) {} in scope_exit() argument
241 ~scope_exit() { if (f_) f_(); } in ~scope_exit() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DScopeExit.h31 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function
33 scope_exit(scope_exit &&Rhs) in scope_exit() function
/external/llvm-project/llvm/include/llvm/ADT/
DScopeExit.h31 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function
33 scope_exit(scope_exit &&Rhs) in scope_exit() function
/external/llvm-project/mlir/lib/Pass/
DPass.cpp392 auto scope_exit = llvm::make_scope_exit([&] { in runPipeline() local