Skip to content

[NFC] [SIL] [Parser] Move SILParserTUState into SILParserState.h #31254

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

Conversation

zoecarver
Copy link
Contributor

Moves the declaration of SILParserTUState into a new private header file: SILParserState.h. This is a simple cut and paste so there should be no functional changes.


// This has to be in the 'swift' namespace because it's forward-declared for
// SILParserState.
class SILParserTUState : public SILParserTUStateBase {
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets make this even clearer. SILParserTranslationUnitState.h.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or SILParserTUState.h

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! Renamed to SILParserTranslationUnitState.h. The other PR is updated too.

@zoecarver zoecarver force-pushed the sil-parser/sil-parser-state-header branch from 8622101 to 4a28842 Compare April 24, 2020 03:42
@shahmishal
Copy link
Member

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

  • How to change the base branch: (Link)
  • More detail about the branch update: (Link)

@zoecarver zoecarver changed the base branch from master to main October 2, 2020 04:10
@zoecarver
Copy link
Contributor Author

@gottesmm ping.

@zoecarver zoecarver force-pushed the sil-parser/sil-parser-state-header branch from acfbc62 to 074375e Compare October 8, 2020 23:30
@zoecarver
Copy link
Contributor Author

Thanks @hamishknight. All comments have been resolved.

Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -0,0 +1,61 @@
//===--- SILParserState.h - SILParserState declaraion -------------------===//
Copy link
Contributor

Choose a reason for hiding this comment

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

Small typo: declaraion

Moves the declaration of SILParserTUState into a new private header file: SILParserState.h
@zoecarver zoecarver force-pushed the sil-parser/sil-parser-state-header branch from 074375e to dfc5c70 Compare October 13, 2020 03:31
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test and merge.

1 similar comment
@zoecarver
Copy link
Contributor Author

@swift-ci please smoke test and merge.

@swift-ci swift-ci merged commit 34bfbe2 into swiftlang:main Oct 13, 2020
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.

5 participants