Skip to content

Conversation

fahadnayyar
Copy link
Contributor

These warnings are still gated behind the experimental-feature-flag WarnUnannotatedReturnOfCxxFrt. But additionally this patch adds these warnings under StrictMemorySafety diagnostic group.

So now these warnings would be emitted only if both flags are passed to the swift compiler invocation: -enable-experimental-feature WarnUnannotatedReturnOfCxxFrt -strict-memory-safety

…up to warn about unannotated C++ APIs that return SWIFT_SHARED_REFERENCE

These warnings are still gated behind the experimental-feature-flag WarnUnannotatedReturnOfCxxFrt.
But additionally this patch adds these warnings under StrictMemorySafety diagnostic group.
So now these warnings would be emitted only if both flags are passed to the swift compiler invocation: -enable-experimental-feature WarnUnannotatedReturnOfCxxFrt -strict-memory-safety
@fahadnayyar
Copy link
Contributor Author

@swift-ci please smoke test

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