Not doing so causes the AST writter to assert since the decl in question never gets emitted. This is fine when modules is not used, but otherwise we need to serialize something other than garbage.
rdar://problem/39844933
Differential D47297
[Modules][ObjC] Add protocol redefinition to the current scope/context bruno on May 23 2018, 3:44 PM. Authored by
Details Not doing so causes the AST writter to assert since the decl in question never gets emitted. This is fine when modules is not used, but otherwise we need to serialize something other than garbage. rdar://problem/39844933
Diff Detail
Event Timeline
|
Is this a problem only for modules or does this show up in PCHs too? What would be the cost of using PushOnScopeChains unconditionally?