mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename "destructor" -> "deinit" (as a keyword) and -> "deinitializer" (in diagnostics).
Swift SVN r14380
This commit is contained in:
@@ -2084,7 +2084,7 @@ Decl *ModuleFile::getDecl(DeclID DID, Optional<DeclContext *> ForcedContext,
|
||||
if (declOrOffset.isComplete())
|
||||
break;
|
||||
|
||||
auto dtor = new (ctx) DestructorDecl(ctx.Id_destructor, SourceLoc(),
|
||||
auto dtor = new (ctx) DestructorDecl(ctx.Id_deinit, SourceLoc(),
|
||||
/*selfpat*/nullptr, parent);
|
||||
declOrOffset = dtor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user