[NFC] [Modules] Avoid scanning the stored decl list twice when replace
external decls This patch fixes a FIXME in StoredDeclList::replaceExternalDecls. StoredDeclList::replaceExternalDecls will iterate the list first to remove some declarations and iterate the list again to get the tail of the list. It should be better to avoid the second iterations.
parent
e3dea5e3
Please register or sign in to comment