mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user