summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-25 20:38:59 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-25 20:38:59 +0000
commit853a8c5f2ee9fa16f7c4c1fca658db40d4c73743 (patch)
tree4c948fad8ce7cdf186af1da071af29ff0b3586ea /include
parent1a37d7e807ad6cc71fe3cffdf6674644c46a60eb (diff)
downloadllvm-853a8c5f2ee9fa16f7c4c1fca658db40d4c73743.tar.gz
llvm-853a8c5f2ee9fa16f7c4c1fca658db40d4c73743.tar.bz2
llvm-853a8c5f2ee9fa16f7c4c1fca658db40d4c73743.tar.xz
Move Attribute::typeIncompatible inside of the Attributes class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 9dc2c1aa57..493af92a56 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -276,6 +276,9 @@ public:
Attributes operator ~ () const { return Attributes(~Bits); }
uint64_t Raw() const { return Bits; }
+ /// @brief Which attributes cannot be applied to a type.
+ static Attributes typeIncompatible(Type *Ty);
+
/// The set of Attributes set in Attributes is converted to a string of
/// equivalent mnemonics. This is, presumably, for writing out the mnemonics
/// for the assembly writer.
@@ -321,9 +324,6 @@ const AttrConst MutuallyIncompatible[5] = {
{NoInline_i | AlwaysInline_i}
};
-/// @brief Which attributes cannot be applied to a type.
-Attributes typeIncompatible(Type *Ty);
-
/// This returns an integer containing an encoding of all the
/// LLVM attributes found in the given attribute bitset. Any
/// change to this encoding is a breaking change to bitcode