diff options
author | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
commit | 2aaf5395640d33eb2db8b7c41829e23459ab54f6 (patch) | |
tree | 1dda5eb2c9e6235d3d26225d0348856a9c6c3d29 /llvm/include/llvm-c | |
parent | a1b4dd96f298008e10f5ff09cf7b25556fab96b8 (diff) | |
download | bcm5719-llvm-2aaf5395640d33eb2db8b7c41829e23459ab54f6.tar.gz bcm5719-llvm-2aaf5395640d33eb2db8b7c41829e23459ab54f6.zip |
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.
llvm-svn: 80063
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index b0a9800ce29..e1a99531b55 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/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 { |