Skip to content

[gardening] Remove commented out code. #2891

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
Jun 5, 2016
Merged

[gardening] Remove commented out code. #2891

merged 1 commit into from
Jun 5, 2016

Conversation

practicalswift
Copy link
Contributor

What's in this pull request?

Remove commented out code.

Resolved bug number: –


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@@ -550,12 +550,6 @@ class FormatWalker : public SourceEntityWalker {
// FIXME: We are going to revisit the behavior and the indentation we
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if the FIXME is related to the commented out code.

@gribozavr
Copy link
Contributor

CC @benlangmuir @akyrtzi @nkcsgexi

@benlangmuir
Copy link
Contributor

This code was commented out in d102209 by Argyrios at the same time he added the comment and FIXME. I'm assigning to @akyrtzi.

@akyrtzi
Copy link
Contributor

akyrtzi commented Jun 5, 2016

FIXME is related, I'd prefer to keep the commented-out part.

@practicalswift
Copy link
Contributor Author

@akyrtzi PR updated. Now keeping the code and switching to the preferred form #ifdef 0 instead of /* :-)

@akyrtzi
Copy link
Contributor

akyrtzi commented Jun 5, 2016

LGTM, thanks!

@akyrtzi akyrtzi merged commit 20c5f53 into swiftlang:master Jun 5, 2016
@akyrtzi
Copy link
Contributor

akyrtzi commented Jun 5, 2016

Should have been "#if 0" not "#ifdef 0". Fixed it in subsequent commit 49d7865

@practicalswift
Copy link
Contributor Author

@akyrtzi Thanks for fixing and sorry for my thinko!

MaxDesiatov added a commit that referenced this pull request Apr 19, 2021
[pull] swiftwasm from main
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.

4 participants