aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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 9dc2c1a..493af92 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