mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Remove SerializedDefaultArgumentInitializer
This stores the same state as DefaultArgumentInitializer, use that instead.
This commit is contained in:
@@ -2674,8 +2674,7 @@ Expected<DeclContext *>ModuleFile::getLocalDeclContext(LocalDeclContextID DCID)
|
||||
index);
|
||||
DeclContext *parent = getDeclContext(parentID);
|
||||
|
||||
declContextOrOffset = new (ctx)
|
||||
SerializedDefaultArgumentInitializer(index, parent);
|
||||
declContextOrOffset = new (ctx) DefaultArgumentInitializer(parent, index);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user