-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
PrintAsClangArea → compiler: The PrintAsClang libraryArea → compiler: The PrintAsClang librarybugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomers
Description
| Previous ID | SR-2406 |
| Radar | rdar://problem/22885266 |
| Original Reporter | @belkadan |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug, PrintAsObjC, StarterBug |
| Assignee | @belkadan |
| Priority | Medium |
md5: 2514d7b6317734b9c741b4d583e99dfd
relates to:
- SR-2529 Keep attribute((noescape)) when importing Clang types
- SR-2520 Type alias is lost when applying @escaping-ness
Issue Description:
If a Swift method takes a non-escaping closure parameter, the generated header should include __attribute__((noescape)) on that parameter's type.
Metadata
Metadata
Assignees
Labels
PrintAsClangArea → compiler: The PrintAsClang libraryArea → compiler: The PrintAsClang librarybugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomers