Remove support for nominal type patterns, which have never been supported in an

official swift release and have bitrotted.
This commit is contained in:
Chris Lattner
2016-07-31 18:44:08 -07:00
parent 9d1ab28b5f
commit 62e4811dac
20 changed files with 24 additions and 799 deletions

View File

@@ -1073,20 +1073,6 @@ namespace decls_block {
BCFixed<1> // implicit?
>;
using NominalTypePatternLayout = BCRecordLayout<
NOMINAL_TYPE_PATTERN,
TypeIDField, // type
BCVBR<5>, // number of elements
BCFixed<1> // implicit?
// The elements trail the record.
>;
using NominalTypePatternEltLayout = BCRecordLayout<
NOMINAL_TYPE_PATTERN_ELT,
DeclIDField // property
// The element pattern trails the record.
>;
using VarPatternLayout = BCRecordLayout<
VAR_PATTERN,
BCFixed<1>, // isLet?