aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-07-26 18:15:31 -0700
committerGitHub <noreply@github.com>2025-07-26 18:15:31 -0700
commit4cb5a343b216d82f49c6affa8b17b696872718b5 (patch)
tree5168a22bd5346fb68333d9b4dcd7d42d2b599051 /llvm
parentf8ee63d9a95b8d92fc1dbd78964f666d0221f8c2 (diff)
downloadllvm-4cb5a343b216d82f49c6affa8b17b696872718b5.zip
llvm-4cb5a343b216d82f49c6affa8b17b696872718b5.tar.gz
llvm-4cb5a343b216d82f49c6affa8b17b696872718b5.tar.bz2
[Support] Remove get getThreadCount (NFC) (#150786)
getThreadCount has been deprecated for more than a year since: commit 744616b3aebd008a5ad0e9de9f82f5e284440ab1 Author: Mehdi Amini <joker.eph@gmail.com> Date: Mon Feb 19 18:07:12 2024 -0800 This patch removes it.
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/ThreadPool.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h
index 9272760..c26681c 100644
--- a/llvm/include/llvm/Support/ThreadPool.h
+++ b/llvm/include/llvm/Support/ThreadPool.h
@@ -149,10 +149,6 @@ public:
/// number of threads!
unsigned getMaxConcurrency() const override { return MaxThreadCount; }
- // TODO: Remove, misleading legacy name warning!
- LLVM_DEPRECATED("Use getMaxConcurrency instead", "getMaxConcurrency")
- unsigned getThreadCount() const { return MaxThreadCount; }
-
/// Returns true if the current thread is a worker thread of this thread pool.
bool isWorkerThread() const;
@@ -233,10 +229,6 @@ public:
/// Returns always 1: there is no concurrency.
unsigned getMaxConcurrency() const override { return 1; }
- // TODO: Remove, misleading legacy name warning!
- LLVM_DEPRECATED("Use getMaxConcurrency instead", "getMaxConcurrency")
- unsigned getThreadCount() const { return 1; }
-
/// Returns true if the current thread is a worker thread of this thread pool.
bool isWorkerThread() const;