Rename "base class" to "superclass" and "derived class" to "subclass".

Standardize on the more-common "superclass" and "subclass" terminology
throughout the compiler, rather than the odd mix of base/derived and
super/sub. 

Also, have ClassDecl only store the Type of the superclass. Location
information will be part of the inheritance clause for parsed classes.




Swift SVN r6687
This commit is contained in:
Doug Gregor
2013-07-29 15:48:34 +00:00
parent cfe9e0ad37
commit 0842fb5cf8
21 changed files with 113 additions and 106 deletions

View File

@@ -1055,7 +1055,7 @@ bool Serializer::writeDecl(const Decl *D) {
addIdentifierRef(theClass->getName()),
addDeclRef(DC),
theClass->isImplicit(),
addTypeRef(theClass->getBaseClass()));
addTypeRef(theClass->getSuperclass()));
writeGenericParams(theClass->getGenericParams());
writeConformances(theClass->getProtocols(), theClass->getConformances());