summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-09 20:11:19 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-09 20:11:19 +0000
commit28d1c60f89f7d224879bd84b89c3e280e6a7333b (patch)
tree89e2c546b323da539fe9a17d9b8741e32ce16ff2 /include/llvm
parentb4e971f376f15325d6918d7fae0c28c8dad5a78c (diff)
Inline the checks for mutually exclusive attributes since they're used in only one module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Attributes.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index bf2a8b85eb6..aa7bc32761a 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -110,15 +110,6 @@ DECLARE_LLVM_ATTRIBUTE(AddressSafety,1ULL<<32) ///< Address safety checking is o
/// an exception might pass by.
/// uwtable + nounwind = Needs an entry because the ABI says so.
-/// @brief Attributes that are mutually incompatible.
-const AttrConst MutuallyIncompatible[5] = {
- {ByVal_i | Nest_i | StructRet_i},
- {ByVal_i | Nest_i | InReg_i },
- {ZExt_i | SExt_i},
- {ReadNone_i | ReadOnly_i},
- {NoInline_i | AlwaysInline_i}
-};
-
} // namespace Attribute
/// AttributeImpl - The internal representation of the Attributes class. This is