-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[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
[NFC] [SIL] [Parser] Move SILParserTUState into SILParserState.h #31254
Conversation
c6a5b30
to
8622101
Compare
lib/SIL/Parser/SILParserState.h
Outdated
|
||
// This has to be in the 'swift' namespace because it's forward-declared for | ||
// SILParserState. | ||
class SILParserTUState : public SILParserTUStateBase { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or SILParserTUState.h
There was a problem hiding this comment.
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.
8622101
to
4a28842
Compare
@gottesmm ping. |
acfbc62
to
074375e
Compare
Thanks @hamishknight. All comments have been resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
lib/SIL/Parser/SILParserState.h
Outdated
@@ -0,0 +1,61 @@ | |||
//===--- SILParserState.h - SILParserState declaraion -------------------===// |
There was a problem hiding this comment.
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
074375e
to
dfc5c70
Compare
@swift-ci please smoke test and merge. |
1 similar comment
@swift-ci please smoke test and merge. |
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.