-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Reapply: [Parser] Decouple the parser from AST creation (part 1) #26403
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
Conversation
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
1 similar comment
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
@swift-ci Please clean test |
Build failed |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=RDA,test=no |
Build failed |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=RDA,test=no |
@swift-ci Please clean test |
Build failed |
Build failed |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
@swift-ci Please clean test |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
Build failed |
Build failed |
@swift-ci Please test |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
Build failed |
Build failed |
SyntaxParseActions::recordToken() et al. may return the same pointer value for different nodes (e.g. `nullptr`). So we cannot use DenseMap to associate the node from the explicit syntax parsing actions to libSyntax node. Instead, use a structure that wraps them.
@swift-ci Please test |
preset=buildbot_incremental_linux,lsan,tools=RDA,stdlib=DA,test=no |
Build failed |
Build failed |
I think this might have caused some other memory leaks. I posted details here: https://bugs.swift.org/browse/SR-11287 . Could you take a look? Since you already fixed a few leaks in this change, maybe you'll immediately know where to look for that leak :) |
I'll look into it. Thanks! |
…2019-part1"" This reverts commit 8a03e08.
Reapply #25193 with fix