Skip to content

Commit 86dc758

Browse files
committed
[llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
1 parent cf4c3d9 commit 86dc758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm-c/Core.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ enum {
471471
LLVMAttributeFunctionIndex = -1,
472472
};
473473

474+
typedef unsigned LLVMAttributeIndex;
475+
474476
/**
475477
* Tail call kind for LLVMSetTailCallKind and LLVMGetTailCallKind.
476478
*
@@ -485,8 +487,6 @@ typedef enum {
485487
LLVMTailCallKindNoTail = 3,
486488
} LLVMTailCallKind;
487489

488-
typedef unsigned LLVMAttributeIndex;
489-
490490
enum {
491491
LLVMFastMathAllowReassoc = (1 << 0),
492492
LLVMFastMathNoNaNs = (1 << 1),

0 commit comments

Comments
 (0)