add Sendable to the allowed attributes in declaration fragments (#80465)

rdar://142903358
This commit is contained in:
QuietMisdreavus
2025-04-04 14:33:20 -06:00
committed by GitHub
parent af5ec3eb1e
commit 3f4519e7a5
2 changed files with 195 additions and 105 deletions

View File

@@ -88,6 +88,7 @@ PrintOptions SymbolGraph::getDeclarationFragmentsPrintOptions() const {
ExcludeAttrs.erase("TypeAttrKind::NoEscape");
ExcludeAttrs.erase("TypeAttrKind::Escaping");
ExcludeAttrs.erase("TypeAttrKind::Inout");
ExcludeAttrs.erase("TypeAttrKind::Sendable");
// Don't allow the following decl attributes:
// These can be large and are already included elsewhere in