[PATCH] D129134: ManagedStatic: remove the last traces

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 02:20:53 PDT 2022


nhaehnle created this revision.
nhaehnle added reviewers: efriedma, lattner.
Herald added a project: All.
nhaehnle requested review of this revision.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129134

Files:
  llvm/include/llvm/Support/ManagedStatic.h


Index: llvm/include/llvm/Support/ManagedStatic.h
===================================================================
--- llvm/include/llvm/Support/ManagedStatic.h
+++ /dev/null
@@ -1,30 +0,0 @@
-//===-- llvm/Support/ManagedStatic.h - Static Global wrapper ----*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-//
-// This file used to define the ManagedStatic class. It will be removed.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_SUPPORT_MANAGEDSTATIC_H
-#define LLVM_SUPPORT_MANAGEDSTATIC_H
-
-#include <atomic>
-#include <cstddef>
-
-namespace llvm {
-
-[[deprecated("llvm_shutdown is a no-op; shutdown now happens by "
-             "default")]] static inline void
-llvm_shutdown() {}
-
-struct [[deprecated("llvm_shutdown_obj is a no-op; shutdown now happens by "
-                    "default")]] llvm_shutdown_obj{};
-
-} // end namespace llvm
-
-#endif // LLVM_SUPPORT_MANAGEDSTATIC_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129134.442236.patch
Type: text/x-patch
Size: 1212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220705/4de1e6b7/attachment.bin>


More information about the llvm-commits mailing list