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:
@@ -2332,10 +2332,10 @@ void NodePrinter::print(Node *pointer, bool asContext, bool suppressType) {
|
||||
printEntity(false, true, "init");
|
||||
return;
|
||||
case Node::Kind::Destructor:
|
||||
printEntity(false, false, "destructor");
|
||||
printEntity(false, false, "deinit");
|
||||
return;
|
||||
case Node::Kind::Deallocator:
|
||||
printEntity(false, false, "__deallocating_destructor");
|
||||
printEntity(false, false, "__deallocating_deinit");
|
||||
return;
|
||||
case Node::Kind::IVarInitializer:
|
||||
printEntity(false, false, "__ivar_initializer");
|
||||
|
||||
Reference in New Issue
Block a user