Rename "destructor" -> "deinit" (as a keyword) and -> "deinitializer" (in diagnostics).

Swift SVN r14380
This commit is contained in:
Doug Gregor
2014-02-26 05:51:45 +00:00
parent 5096abcaa6
commit 981f8f6509
18 changed files with 61 additions and 39 deletions

View File

@@ -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;