[llvm] e1e34cc - [Support] Remove llvm/Support/Host.h (#74261)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 12:54:31 PST 2023
Author: Kazu Hirata
Date: 2023-12-04T12:54:26-08:00
New Revision: e1e34cc2a17c5f640333767df2d3bfe2b2f81a84
URL: https://github.com/llvm/llvm-project/commit/e1e34cc2a17c5f640333767df2d3bfe2b2f81a84
DIFF: https://github.com/llvm/llvm-project/commit/e1e34cc2a17c5f640333767df2d3bfe2b2f81a84.diff
LOG: [Support] Remove llvm/Support/Host.h (#74261)
The header file has been deprecated since:
commit f09cf34d00625e57dea5317a3ac0412c07292148
Author: Archibald Elliott <archibald.elliott at arm.com>
Date: Tue Dec 20 10:24:02 2022 +0000
Added:
Modified:
llvm/include/module.modulemap
polly/lib/External/isl/interface/extract_interface.cc
Removed:
llvm/include/llvm/Support/Host.h
################################################################################
diff --git a/llvm/include/llvm/Support/Host.h b/llvm/include/llvm/Support/Host.h
deleted file mode 100644
index 113a252a12de9..0000000000000
--- a/llvm/include/llvm/Support/Host.h
+++ /dev/null
@@ -1,18 +0,0 @@
-//===-- llvm/Support/Host.h -------------------------------------*- 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
-//
-//===----------------------------------------------------------------------===//
-///
-/// \file
-/// This header is deprecated in favour of `llvm/TargetParser/Host.h`.
-///
-//===----------------------------------------------------------------------===//
-
-#ifdef __GNUC__
-#pragma GCC warning \
- "This header is deprecated, please use llvm/TargetParser/Host.h"
-#endif
-#include "llvm/TargetParser/Host.h"
diff --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index 4c2ba437edb9f..8930fa8c087cf 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -380,9 +380,6 @@ module LLVM_Utils {
umbrella "llvm/Support"
module * { export * }
- // Exclude this; deprecated.
- exclude header "llvm/Support/Host.h"
-
// Exclude this; it should only be used on Windows.
exclude header "llvm/Support/Windows/WindowsSupport.h"
diff --git a/polly/lib/External/isl/interface/extract_interface.cc b/polly/lib/External/isl/interface/extract_interface.cc
index b94847c59035e..9bd20b0c72c6c 100644
--- a/polly/lib/External/isl/interface/extract_interface.cc
+++ b/polly/lib/External/isl/interface/extract_interface.cc
@@ -47,8 +47,8 @@
#endif
#include <llvm/Support/raw_ostream.h>
#include <llvm/Support/CommandLine.h>
-#include <llvm/Support/Host.h>
#include <llvm/Support/ManagedStatic.h>
+#include <llvm/TargetParser/Host.h>
#include <clang/AST/ASTContext.h>
#include <clang/AST/ASTConsumer.h>
#include <clang/Basic/Builtins.h>
More information about the llvm-commits
mailing list