Merge pull request #19522 from jrose-apple/lined-pockets

Remove unwanted exceptions from @inlinable checking
This commit is contained in:
Jordan Rose
2018-10-05 14:28:21 -07:00
committed by GitHub
12 changed files with 163 additions and 40 deletions

View File

@@ -4031,9 +4031,6 @@ WARNING(inlinable_implies_usable_from_inline,none,
ERROR(usable_from_inline_attr_in_protocol,none,
"'@usableFromInline' attribute cannot be used in protocols", ())
ERROR(usable_from_inline_dynamic_not_supported,none,
"'@usableFromInline' attribute cannot be applied to 'dynamic' declarations", ())
#define FRAGILE_FUNC_KIND \
"%select{a '@_transparent' function|" \
"an '@inline(__always)' function|" \