aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-08-26 01:08:21 +0000
committerDale Johannesen <dalej@apple.com>2009-08-26 01:08:21 +0000
commitde86d473fcc18fe769fa9edb075984880ef1a015 (patch)
tree3abd3fea11f095755a9ddb18abea48e164d14985 /include/llvm-c
parent8af76bdb7450b097efa17f7c192882111a9e8f10 (diff)
downloadexternal_llvm-de86d473fcc18fe769fa9edb075984880ef1a015.zip
external_llvm-de86d473fcc18fe769fa9edb075984880ef1a015.tar.gz
external_llvm-de86d473fcc18fe769fa9edb075984880ef1a015.tar.bz2
Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline a function ("inline" keyword). No functional change yet; FEs do not emit this and inliner does not use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index b0a9800..e1a9953 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -109,7 +109,8 @@ typedef enum {
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
- LLVMNakedAttribute = 1<<24
+ LLVMNakedAttribute = 1<<24,
+ LLVMInlineHintAttribute = 1<<25
} LLVMAttribute;
typedef enum {