LLVM 20.0.0git
|
This file defines the make_scope_exit function, which executes user-defined cleanup logic at scope exit. More...
Go to the source code of this file.
Classes | |
class | llvm::detail::scope_exit< Callable > |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::detail |
These are wrappers over isa* function that allow them to be used in generic algorithms such as llvm:all_of , llvm::none_of , etc. | |
Functions | |
template<typename Callable > | |
detail::scope_exit< std::decay_t< Callable > > | llvm::make_scope_exit (Callable &&F) |
This file defines the make_scope_exit function, which executes user-defined cleanup logic at scope exit.
Definition in file ScopeExit.h.