Skip to content

Commit 2cac0bf

Browse files
authored
Remove unused LLVMLandingPadClauseTy from Core.h (#124472)
enum LLVMLandingPadClauseTy has never been used and exists by mistake. [This](llvm-mirror/llvm@772fe17#diff-9e2da57026497163c9f7396a48567626a0b94828a5757436ef20a4e67522525d) commit added a LLVMAddClause function that took it as a parameter. [Here](llvm-mirror/llvm@10c6d12#diff-6e588c82c378e251a7d265b08973d4a7312a592756f88023cd317f109083de10) the enum was removed. And [here](llvm-mirror/llvm@e6e8826#diff-9e2da57026497163c9f7396a48567626a0b94828a5757436ef20a4e67522525d) it is added again by mistake, although the LLVMAddClause function no longer accepts it
1 parent 689ef5f commit 2cac0bf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/include/llvm-c/Core.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,6 @@ typedef enum {
321321
LLVMRealPredicateTrue /**< Always true (always folded) */
322322
} LLVMRealPredicate;
323323

324-
typedef enum {
325-
LLVMLandingPadCatch, /**< A catch clause */
326-
LLVMLandingPadFilter /**< A filter clause */
327-
} LLVMLandingPadClauseTy;
328-
329324
typedef enum {
330325
LLVMNotThreadLocal = 0,
331326
LLVMGeneralDynamicTLSModel,

0 commit comments

Comments
 (0)