Skip to content

[Parse] Remove unnecessary dependencies to Parser.h #77361

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
Nov 3, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Nov 2, 2024

C++ swift::Parser is going to be replaced with SwiftParser+ASTGen. Direct dependencies to swift::Parser should be removed. Before that, remove unnecessary #include "swift/Parse/Parser.h" to clarify what actually depends on it.

Split swift::parseDeclName() et al. into the dedicated files.

rdar://139117268

FYI, the remaining things are:

  • ClangImporter for parsing swift_attr attributes
  • Code completion
  • SIL parsing

C++ swift::Parser is going to be replaced with SwiftParser+ASTGen.
Direct dependencies to it should be removed. Before that, remove
unnecessary '#include "swift/Parse/Parser.h"' to clarify what actually
depends on 'swift::Parser'.

Split 'swift::parseDeclName()' et al. into the dedicated files.
@rintaro
Copy link
Member Author

rintaro commented Nov 2, 2024

@swift-ci Please smoke test

@rintaro rintaro merged commit 5d5a050 into swiftlang:main Nov 3, 2024
3 checks passed
@rintaro rintaro deleted the parse-no-parser branch November 3, 2024 05:08
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