[noinline diagnostic] allow noinline on Func Decl only.

Also move noinline attribute to use the new infrastructure i.e SIMPLE_DECL_ATTR,
per feedback from Dmitri.

rdar://15882816


Swift SVN r19188
This commit is contained in:
Manman Ren
2014-06-25 23:17:43 +00:00
parent 6b2c727850
commit 863138ead7
9 changed files with 34 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 107;
const uint16_t VERSION_MINOR = 108;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -727,7 +727,6 @@ namespace decls_block {
BCFixed<1>, // mutating?
BCFixed<1>, // has dynamic self?
BCFixed<1>, // optional?
BCFixed<1>, // noinline?
BCVBR<5>, // number of parameter patterns
TypeIDField, // type (signature)
TypeIDField, // interface type