[Serialization] Rename "alias name type" to "builtin alias type".

We still use the old layout for NameAliasType for builtin types, so
rename the Layout struct and corresponding code to describe its new
(more restricted) purpose.
This commit is contained in:
Doug Gregor
2018-03-25 21:01:38 -07:00
parent c43f96a855
commit 0524741f6c
4 changed files with 13 additions and 13 deletions

View File

@@ -641,8 +641,8 @@ namespace decls_block {
#include "swift/Serialization/DeclTypeRecordNodes.def"
};
using NameAliasTypeLayout = BCRecordLayout<
NAME_ALIAS_TYPE,
using BuiltinAliasTypeLayout = BCRecordLayout<
BUILTIN_ALIAS_TYPE,
DeclIDField, // typealias decl
TypeIDField // canonical type (a fallback)
>;