@@ -172,6 +172,7 @@ InterfaceFile::merge(const InterfaceFile *O) const {
172
172
173
173
IF->setTwoLevelNamespace (isTwoLevelNamespace ());
174
174
IF->setApplicationExtensionSafe (isApplicationExtensionSafe ());
175
+ IF->setOSLibNotForSharedCache (isOSLibNotForSharedCache ());
175
176
176
177
for (const auto &It : umbrellas ()) {
177
178
if (!It.second .empty ())
@@ -238,6 +239,8 @@ InterfaceFile::remove(Architecture Arch) const {
238
239
return make_error<TextAPIError>(TextAPIErrorCode::NoSuchArchitecture);
239
240
}
240
241
242
+ // FIXME: Figure out how to keep these attributes in sync when new ones are
243
+ // added.
241
244
std::unique_ptr<InterfaceFile> IF (new InterfaceFile ());
242
245
IF->setFileType (getFileType ());
243
246
IF->setPath (getPath ());
@@ -248,6 +251,7 @@ InterfaceFile::remove(Architecture Arch) const {
248
251
IF->setSwiftABIVersion (getSwiftABIVersion ());
249
252
IF->setTwoLevelNamespace (isTwoLevelNamespace ());
250
253
IF->setApplicationExtensionSafe (isApplicationExtensionSafe ());
254
+ IF->setOSLibNotForSharedCache (isOSLibNotForSharedCache ());
251
255
for (const auto &It : umbrellas ())
252
256
if (It.first .Arch != Arch)
253
257
IF->addParentUmbrella (It.first , It.second );
@@ -316,6 +320,7 @@ InterfaceFile::extract(Architecture Arch) const {
316
320
IF->setSwiftABIVersion (getSwiftABIVersion ());
317
321
IF->setTwoLevelNamespace (isTwoLevelNamespace ());
318
322
IF->setApplicationExtensionSafe (isApplicationExtensionSafe ());
323
+ IF->setOSLibNotForSharedCache (isOSLibNotForSharedCache ());
319
324
for (const auto &It : umbrellas ())
320
325
if (It.first .Arch == Arch)
321
326
IF->addParentUmbrella (It.first , It.second );
0 commit comments