diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-03 21:11:02 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-03 21:11:02 +0000 |
commit | 3afba0ae416acd62aca0ddda454538fbe99d1571 (patch) | |
tree | 034f06efb093b8e518a890dd9e1e50f9496630bc /include/llvm/Attributes.h | |
parent | 1b54c7fe9b034a6450af8596231ad5368b617725 (diff) | |
download | llvm-3afba0ae416acd62aca0ddda454538fbe99d1571.tar.gz llvm-3afba0ae416acd62aca0ddda454538fbe99d1571.tar.bz2 llvm-3afba0ae416acd62aca0ddda454538fbe99d1571.tar.xz |
Fix function attribute verification check.
Thanks Duncan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Attributes.h')
-rw-r--r-- | include/llvm/Attributes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 50a4cef9ea..685ee2767b 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -54,7 +54,8 @@ const Attributes Alignment = 0xffff<<16; ///< Alignment of parameter (16 bits) const Attributes ParameterOnly = ByVal | Nest | StructRet; /// @brief Attributes that only apply to function. -const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly; +const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly | + NoInline | AlwaysInline | OptimizeForSize; /// @brief Parameter attributes that do not apply to vararg call arguments. const Attributes VarArgsIncompatible = StructRet; |