Skip to content

API notes should support annotating templated C++ tags #83118

@maddyadams

Description

@maddyadams

Motivation

API Notes allow for annotating C+ APIs without modifying header files, such as to rename methods of C++ non-templated types in Swift. However, templated types aren't currently supported by API Notes, meaning that e.g. the only way to rename a method of a C++ templated type is to put the SWIFT_NAME annotation on the method definition in the header.

Proposed solution

Add support for annotating templated types via API Notes.

Alternatives considered

No response

Additional information

rdar://131566632

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA feature request or implementationtriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions