reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/LazyCallGraph.cpp
  539   auto VerifyOnExit = make_scope_exit([&]() { verify(); });
  686   auto VerifyOnExit = make_scope_exit([&]() { verify(); });
  708   auto VerifyOnExit = make_scope_exit([&]() { verify(); });
  980   auto VerifyOnExit = make_scope_exit([&]() { verify(); });
 1118   auto VerifyOnExit = make_scope_exit([&]() { verify(); });
 1138   auto VerifyOnExit = make_scope_exit([&]() {
 1385   auto ExitVerifier = make_scope_exit([this] { verify(); });
 1419   auto ExitVerifier = make_scope_exit([this] { verify(); });
 1450   auto ExitVerifier = make_scope_exit([this] { verify(); });
lib/Analysis/LoopInfo.cpp
  860   auto InvalidateOnExit = make_scope_exit([&]() { destroy(Unloop); });
lib/Analysis/ScalarEvolution.cpp
 9680       make_scope_exit([&]() { PendingLoopPredicates.erase(FoundCondValue); });
10010   auto ClearOnExit = make_scope_exit([&]() {
lib/CodeGen/GlobalISel/IRTranslator.cpp
 2263   auto FinalizeOnReturn = make_scope_exit([this]() { finalizeFunction(); });
lib/CodeGen/IfConversion.cpp
  927   auto UnReverseOnExit = make_scope_exit([&]() {
lib/CodeGen/ResetMachineFunctionPass.cpp
   59           make_scope_exit([&MF]() { MF.getRegInfo().clearVirtRegTypes(); });
lib/Support/Unix/Threading.inc
   69   auto AttrGuard = llvm::make_scope_exit([&] {
lib/Target/AArch64/AArch64FrameLowering.cpp
  852   auto Cleanup = make_scope_exit([&]() { MF.setHasWinCFI(HasWinCFI); });
 1332   auto WinCFI = make_scope_exit([&]() {
 1400   auto Cleanup = make_scope_exit([&] { InsertReturnAddressAuth(MF, MBB); });
lib/Target/X86/X86FlagsCopyLowering.cpp
  393     auto Cleanup = make_scope_exit([&] {
lib/Transforms/Utils/LoopUtils.cpp
   62     auto Cleanup = make_scope_exit([&] { InLoopPredecessors.clear(); });
tools/clang/lib/AST/ASTImporter.cpp
 1827       llvm::make_scope_exit(DefinitionCompleter);
 7939       llvm::make_scope_exit([this]() { ImportPath.pop(); });
tools/clang/lib/CodeGen/CGCoroutine.cpp
  183   auto UnbindOnExit = llvm::make_scope_exit([&] { Binder.unbind(CGF); });
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
  197   auto EpollFDGuard = llvm::make_scope_exit([EpollFD]() { close(EpollFD); });
tools/clang/lib/Lex/PPDirectives.cpp
 2466   auto _ = llvm::make_scope_exit([&]() {
tools/clang/lib/Serialization/ASTReader.cpp
 4487   auto FinalizeOrDropPCM = llvm::make_scope_exit([&]() {
tools/clang/lib/Serialization/ASTWriter.cpp
 3306   auto _ = llvm::make_scope_exit([this] { Stream.ExitBlock(); });
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  418     return Task.first.derive(llvm::make_scope_exit([this, StrID, Cookie] {
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  117   auto CleanUp = llvm::make_scope_exit(
tools/clang/tools/extra/clangd/TUScheduler.cpp
  549     auto _ = llvm::make_scope_exit(
tools/clang/tools/extra/clangd/Threading.cpp
   77   auto CleanupTask = llvm::make_scope_exit([this]() {
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
   59     WithContextValue Ctx(llvm::make_scope_exit(std::move(CB)));
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  577   auto on_exit = llvm::make_scope_exit([this]() { ResetDeclMap(); });
  765   auto on_exit = llvm::make_scope_exit([this]() { ResetDeclMap(); });
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  803   auto path_cleanup = llvm::make_scope_exit([process, path_addr] {
  828   auto return_cleanup = llvm::make_scope_exit([process, return_addr] {
  934       llvm::make_scope_exit([do_dlopen_function, &exe_ctx, func_args_addr] {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
  256   auto D = make_scope_exit([&]() { server->Disconnect(); });
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 3485     auto cleanup_our = llvm::make_scope_exit([&]() { close(our_socket); });
 3486     auto cleanup_gdb = llvm::make_scope_exit([&]() { close(gdb_socket); });
tools/lldb/source/Target/Target.cpp
 2345   auto on_exit = llvm::make_scope_exit([this, old_suppress_value]() {
tools/lldb/tools/lldb-test/lldb-test.cpp
 1080       llvm::make_scope_exit([&] { DebuggerLifetime.Terminate(); });
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  375   auto Cleanup = make_scope_exit([&] { OS.flush(); });
unittests/ADT/ScopeExitTest.cpp
   25     auto g = make_scope_exit(Callable(Called));
   35     auto G = make_scope_exit(Increment);
   42     auto G = make_scope_exit(Increment);
unittests/Support/MemoryBufferTest.cpp
  113         make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); });
  123         make_scope_exit([&] { ASSERT_NO_ERROR(sys::fs::closeFile(*File)); });
  173   auto ReadCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[0]); });
  175     auto WriteCloser = make_scope_exit([&] { sys::fs::closeFile(pipes[1]); });
unittests/Support/Path.cpp
 1526     auto Close = make_scope_exit([&] { fs::closeFile(*FD); });
 1543   auto Close = make_scope_exit([&] { fs::closeFile(*FD); });