diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-01 23:41:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-01 23:41:25 +0000 |
commit | 7c31085b1c95290c834bc3d8d25d7b3b61b90c7b (patch) | |
tree | 724a5c4ed279c22d397e7909d8323eccaeb9e2ca /include/llvm/Attributes.h | |
parent | 4ae641f4d12c60ee1aaca5e42b6de231c6a02c40 (diff) | |
download | external_llvm-7c31085b1c95290c834bc3d8d25d7b3b61b90c7b.zip external_llvm-7c31085b1c95290c834bc3d8d25d7b3b61b90c7b.tar.gz external_llvm-7c31085b1c95290c834bc3d8d25d7b3b61b90c7b.tar.bz2 |
Attributes noinline alwaysinline are incompatible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Attributes.h')
-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. |