[llvm] 2cac0bf - Remove unused LLVMLandingPadClauseTy from Core.h (#124472)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 2 09:18:11 PST 2025
Author: Vladimir Kozelkov
Date: 2025-02-02T17:18:07Z
New Revision: 2cac0bf8fee896d3204c310a736e5bfe85fbdebd
URL: https://github.com/llvm/llvm-project/commit/2cac0bf8fee896d3204c310a736e5bfe85fbdebd
DIFF: https://github.com/llvm/llvm-project/commit/2cac0bf8fee896d3204c310a736e5bfe85fbdebd.diff
LOG: Remove unused LLVMLandingPadClauseTy from Core.h (#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
Added:
Modified:
llvm/include/llvm-c/Core.h
Removed:
################################################################################
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