Factor generic parameters and associated types into their own decl nodes.

Previously, TypeAliasDecl was used for typealiases, generic
parameters, and assocaited types, which is hideous and the source of
much confusion. Factor the latter two out into their own decl nodes,
with a common abstract base for "type parameters", and push these
nodes throughout the frontend.

No real functionality change, but this is a step toward uniquing
polymorphic types, among other things.


Swift SVN r7345
This commit is contained in:
Doug Gregor
2013-08-19 23:36:58 +00:00
parent 9690e3d660
commit 1ddb34fb71
45 changed files with 789 additions and 226 deletions

View File

@@ -72,7 +72,6 @@ validateControlBlock(llvm::BitstreamCursor &cursor,
return result;
}
/// Used to deserialize entries in the on-disk decl hash table.
class ModuleFile::DeclTableInfo {
public: