Skip to content

[Basic] Disable body of broken Located<T>::dump() method #29045

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
Jan 7, 2020

Conversation

davezarzycki
Copy link
Contributor

Newer clangs are more reliable about emitting templated methods that are marked "used".

Newer clangs are more reliable about emitting templated methods that are
marked "used".
@davezarzycki
Copy link
Contributor Author

@swift-ci please smoke test and merge

Copy link
Contributor

@varungandhi-apple varungandhi-apple left a comment

Choose a reason for hiding this comment

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

Thanks!

@varungandhi-apple
Copy link
Contributor

varungandhi-apple commented Jan 7, 2020

Can you comment out/remove the method entirely if it is not being used anywhere?

@davezarzycki
Copy link
Contributor Author

I could. That would require changing the header too. This seemed easier and less churn (and noise in the git-blame history). Besides, I assume that we want the dump() method to work someday, right :-)

@davezarzycki
Copy link
Contributor Author

Also, dump() methods are supposed to not be "used" anywhere (except interactively while debugging the compiler).

@swift-ci swift-ci merged commit 85eb293 into swiftlang:master Jan 7, 2020
@davezarzycki davezarzycki deleted the pr29045 branch January 7, 2020 21:09
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.

3 participants