summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-01-15 21:36:30 +0000
committerEric Christopher <echristo@apple.com>2010-01-15 21:36:30 +0000
commit606a1d1f5984f20e79b0d2a2d38c121907426810 (patch)
tree5d2f72c49a5c454144b7ec2d506f19644f9f7cd9 /include
parent9afb7c5fb3dfbbe207c87f69bc80098b83308785 (diff)
downloadllvm-606a1d1f5984f20e79b0d2a2d38c121907426810.tar.gz
llvm-606a1d1f5984f20e79b0d2a2d38c121907426810.tar.bz2
llvm-606a1d1f5984f20e79b0d2a2d38c121907426810.tar.xz
Remove the InlineHint attribute. There are no current or planned
users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h3
-rw-r--r--include/llvm/Attributes.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 687920549c..7824729f31 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -117,8 +117,7 @@ typedef enum {
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
- LLVMNakedAttribute = 1<<24,
- LLVMInlineHintAttribute = 1<<25
+ LLVMNakedAttribute = 1<<24
} LLVMAttribute;
typedef enum {
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 068f81fc7d..7fa5d4ae6b 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -58,8 +58,6 @@ const Attributes NoRedZone = 1<<22; /// disable redzone
const Attributes NoImplicitFloat = 1<<23; /// disable implicit floating point
/// instructions.
const Attributes Naked = 1<<24; ///< Naked function
-const Attributes InlineHint = 1<<25; ///< source said inlining was
- ///desirable
/// @brief Attributes that only apply to function parameters.
const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture;
@@ -68,7 +66,7 @@ const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture;
/// be used on return values or function parameters.
const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
NoInline | AlwaysInline | OptimizeForSize | StackProtect | StackProtectReq |
- NoRedZone | NoImplicitFloat | Naked | InlineHint;
+ NoRedZone | NoImplicitFloat | Naked;
/// @brief Parameter attributes that do not apply to vararg call arguments.
const Attributes VarArgsIncompatible = StructRet;