[llvm] 86dc758 - [llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
Amaury Séchet via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 05:23:04 PDT 2024
Author: Amaury Séchet
Date: 2024-06-14T12:22:17Z
New Revision: 86dc75862398ec48ad411103770613fba9add9f5
URL: https://github.com/llvm/llvm-project/commit/86dc75862398ec48ad411103770613fba9add9f5
DIFF: https://github.com/llvm/llvm-project/commit/86dc75862398ec48ad411103770613fba9add9f5.diff
LOG: [llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
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 d4a10e9277605..7de99c3a6038d 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -471,6 +471,8 @@ enum {
LLVMAttributeFunctionIndex = -1,
};
+typedef unsigned LLVMAttributeIndex;
+
/**
* Tail call kind for LLVMSetTailCallKind and LLVMGetTailCallKind.
*
@@ -485,8 +487,6 @@ typedef enum {
LLVMTailCallKindNoTail = 3,
} LLVMTailCallKind;
-typedef unsigned LLVMAttributeIndex;
-
enum {
LLVMFastMathAllowReassoc = (1 << 0),
LLVMFastMathNoNaNs = (1 << 1),
More information about the llvm-commits
mailing list