summaryrefslogtreecommitdiffstats
path: root/llvm/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
commiteb33723ace79be06fb44e7826274cb7756efe95d (patch)
tree62b646665d7e3440c372bc3bee90c2295708266d /llvm/include
parentedb31faf92b8685929a5bde6627ce351e8712d8c (diff)
downloadbcm5719-llvm-eb33723ace79be06fb44e7826274cb7756efe95d.tar.gz
bcm5719-llvm-eb33723ace79be06fb44e7826274cb7756efe95d.zip
Move Attribute::typeIncompatible inside of the Attributes class.
llvm-svn: 164629
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Attributes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Attributes.h b/llvm/include/llvm/Attributes.h
index 9dc2c1aa579..493af92a566 100644
--- a/llvm/include/llvm/Attributes.h
+++ b/llvm/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
OpenPOWER on IntegriCloud