-
Notifications
You must be signed in to change notification settings - Fork 10.5k
ASTGen: Expose BumpPtrAllocator as @_spi(BumpPtrAllocator) #68860
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
ASTGen: Expose BumpPtrAllocator as @_spi(BumpPtrAllocator) #68860
Conversation
@@ -4,7 +4,7 @@ import CBasicBridging | |||
// Needed to use SyntaxTransformVisitor's visit method. | |||
@_spi(SyntaxTransformVisitor) | |||
// Needed to use BumpPtrAllocator | |||
@_spi(RawSyntax) | |||
@_spi(BumpPtrAllocator) //updated from RawSyntax |
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.
I don't think this comment carries much weight. The _spi(RawSyntax)
import was just a temporary measure.
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.
okay I removed the comment, and made a new commit. please check again. thank you so much for being so patient with me.
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! Before we launch tests, could you clean up the commit history by squashing the commits and updating the commit message to something less ambiguous? Here is an idea: «ASTGen: Expose BumpPtrAllocator
as @_spi(BumpPtrAllocator
».
2d6633e
to
8b50a0d
Compare
please check, I squashed the 2 commits into one using git rebase interactive. |
@swift-ci please smoke test |
@swift-ci Please smoke test |
changed @_spi(RawSyntax) import SwiftSyntax in ASTGen.swift to @_spi(BumpPtrAllocator) import SwiftSyntax.
Resolves #68351.
Coupled with swiftlang/swift-syntax#2249.