Skip to content

swift-api-digester: add a new flag to indicate whether the tool is checking ABI stability. #18707

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
Aug 14, 2018

Conversation

nkcsgexi
Copy link
Contributor

When this flag turns on, all type nodes and generic signatures are canonicalized.

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi requested a review from slavapestov August 14, 2018 20:12
lib/AST/Type.cpp Outdated
@@ -4137,3 +4137,14 @@ Type TypeBase::openAnyExistentialType(ArchetypeType *&opened) {
opened = ArchetypeType::getOpened(this);
return opened;
}

Requirement Requirement::getCanonicalRequirement() const {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest just putting this in the ABI diff tool. If we end up needing it again we can move it to the class.

…ecking ABI stability.

When this flag turns on, all type nodes and generic signatures are canonicalized.
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi merged commit 45f9e44 into swiftlang:master Aug 14, 2018
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.

2 participants