Skip to content

Don't drop ptrauth qualifiers when constructing C++ composite types #1096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

ahatanaka
Copy link

Fixes a bug in Sema where it was incorrectly rejecting the following
code:

typedef void * __ptrauth(ptrauth_key_process_dependent_data, 1, 42) T;

bool compare(T *a, T *b) {
return a == b;
}

rdar://problem/54603670

Fixes a bug in Sema where it was incorrectly rejecting the following
code:

```
typedef void * __ptrauth(ptrauth_key_process_dependent_data, 1, 42) T;

bool compare(T *a, T *b) {
return a == b;
}
```

rdar://problem/54603670
@ahatanaka
Copy link
Author

@swift-ci test macOS

@ahatanaka ahatanaka merged commit 53556b0 into apple/stable/20200108 Apr 20, 2020
@ahatanaka ahatanaka deleted the PR-54603670 branch April 20, 2020 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant