Skip to content

SymbolGraphGen: Provide support for including underscored or unavailable symbols #60163

Open
@QuietMisdreavus

Description

@QuietMisdreavus

Per the discussion in #59957, it's important for users of the symbol graph to be able to find all the public symbols, even those that are implicitly private by having an underscored name (e.g. _SomeType) or by being marked as "unconditionally unavailable" (i.e. @available(*, unavailable)). Providing a flag to swift-frontend and swift-symbolgraph-extract to include these symbols will allow tools to perform this filtering on their own, rather than relying on SymbolGraphGen's assumptions that were originally written for Swift-DocC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrontendArea → compiler: FrontendSymbolGraphGenThe swiftSymbolGraphGen library, responsible for gathering and emitting symbol graphs.compilerThe Swift compiler itselffeatureA feature request or implementationlegacy driverArea → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver projectsource toolingArea: IDE support, SourceKit, and other source toolingswift-symbolgraph-extractArea → compiler → legacy driver: the 'swift-symbolgraph-extract' mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions