Skip to content

Add a custom @_spi kind to expose BumpPtrAllocator from SwiftSyntax to ASTGen. #68351

@ahoppen

Description

@ahoppen

Mark BumpPtrAllocator as @_spi(BumpPtrAllocator) and change @_spi(RawSyntax) import SwiftSyntax in ASTGen.swift to @_spi(BumpPtrAllocator) import SwiftSyntax.

That way, ASTGen doesn’t need to import SwiftSyntax with @_spi(RawSyntax).

Metadata

Metadata

Assignees

Labels

ASTGenArea → compiler: The ASTGen module, which translates SwiftSyntax trees to the C++ ASTcompilerThe Swift compiler itselfgood first issueGood for newcomers

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions