[llvm] Remove unused LLVMLandingPadClauseTy from Core.h (PR #124472)
Vladimir Kozelkov via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 26 08:04:32 PST 2025
https://github.com/vova7878 created https://github.com/llvm/llvm-project/pull/124472
enum LLVMLandingPadClauseTy has never been used and exists by mistake.
[This](https://github.com/llvm-mirror/llvm/commit/772fe17a6d07304ae2e6b3052bbb24ebb751f0f3#diff-9e2da57026497163c9f7396a48567626a0b94828a5757436ef20a4e67522525d) commit added a LLVMAddClause function that took it as a parameter.
[Here](https://github.com/llvm-mirror/llvm/commit/10c6d12a9fd4dab411091f64db4db69670b88850#diff-6e588c82c378e251a7d265b08973d4a7312a592756f88023cd317f109083de10) the enum was removed.
And [here](https://github.com/llvm-mirror/llvm/commit/e6e8826870bee3facb04f950f0bd725f8a88623d#diff-9e2da57026497163c9f7396a48567626a0b94828a5757436ef20a4e67522525d) it is added again by mistake, although the LLVMAddClause function no longer accepts it
>From 5f10d3902ab73a2f2329f9583b7fdacb6ebca32f Mon Sep 17 00:00:00 2001
From: Vladimir Kozelkov <46866705+vova7878 at users.noreply.github.com>
Date: Sun, 26 Jan 2025 22:59:13 +0700
Subject: [PATCH] Remove unused LLVMLandingPadClauseTy
---
llvm/include/llvm-c/Core.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index dc8ecf4fb2ade2..43bb775e5781ae 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -321,11 +321,6 @@ typedef enum {
LLVMRealPredicateTrue /**< Always true (always folded) */
} LLVMRealPredicate;
-typedef enum {
- LLVMLandingPadCatch, /**< A catch clause */
- LLVMLandingPadFilter /**< A filter clause */
-} LLVMLandingPadClauseTy;
-
typedef enum {
LLVMNotThreadLocal = 0,
LLVMGeneralDynamicTLSModel,
More information about the llvm-commits
mailing list