SIL: make getLinkageString(SILLinkage linkage) available as general API

This commit is contained in:
Erik Eckstein
2025-11-21 11:47:06 +01:00
parent fa55b2520d
commit 95d5b5da33
2 changed files with 15 additions and 12 deletions

View File

@@ -421,6 +421,9 @@ inline bool fixmeWitnessHasLinkageThatNeedsToBePublic(SILDeclRef witness,
(!hasSharedVisibility(witnessLinkage) || !witness.isSerialized());
}
// Defined in SILPrinter
StringRef getLinkageString(SILLinkage linkage);
} // end swift namespace
#endif