LLVM 24.0.0git
ScopeExit.h File Reference

This file defines the scope_exit class, which executes user-defined cleanup logic at scope exit. More...

#include <utility>

Go to the source code of this file.

Classes

class  llvm::scope_exit< Callable >

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

template<typename Callable>
 llvm::scope_exit (Callable) -> scope_exit< Callable >

Detailed Description

This file defines the scope_exit class, which executes user-defined cleanup logic at scope exit.

Definition in file ScopeExit.h.