Sema: Remove some unnecessary (void) getInterfaceType() calls

This commit is contained in:
Slava Pestov
2019-11-01 22:01:19 -04:00
parent 3b7a0b24f5
commit ae8c85ef80
14 changed files with 2 additions and 102 deletions

View File

@@ -143,9 +143,6 @@ static ValueDecl *deriveInitDecl(DerivedConformance &derived, Type paramType,
// Synthesize the body.
synthesizer(initDecl);
// Compute the interface type of the initializer.
(void)initDecl->getInterfaceType();
initDecl->setAccess(derived.Nominal->getFormalAccess());
C.addSynthesizedDecl(initDecl);