HomePhabricator

[Swift] Extend swift_name to support getters and setters.

Authored by doug.gregor on Mar 1 2016, 12:55 PM.

Description

[Swift] Extend swift_name to support getters and setters.

Extend the string format of swift_name to support labeling a function
as a getter or setter for a given property name, so that the getter
(and optional setter) function(s) will be imported into Swift as a
property. Slightly extended from what SE-0033 actually requires, but
useful in its own right.

apple-llvm-split-commit: 91e87c28d1accf4b6cb958c46eed2d81bad37f30
apple-llvm-split-dir: clang/

Details

Committed
doug.gregorMar 1 2016, 12:55 PM
Parents
rG3d7dd666a38e: [Swift] Extend swift_name attribute to describe members.
Branches
Unknown
Tags
Unknown