diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Attributes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 1e54ddf..d8f6cf6 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -60,10 +60,11 @@ const Attributes ReturnOnly = NoReturn | NoUnwind | ReadNone | ReadOnly; const Attributes VarArgsIncompatible = StructRet; /// @brief Attributes that are mutually incompatible. -const Attributes MutuallyIncompatible[3] = { +const Attributes MutuallyIncompatible[4] = { ByVal | InReg | Nest | StructRet, ZExt | SExt, - ReadNone | ReadOnly + ReadNone | ReadOnly, + NoInline | AlwaysInline }; /// @brief Which attributes cannot be applied to a type. |