mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When adding to the AST consumer queue, keep track of the snapshots expected and only run such AST consumers when a new enough AST is built. Progress is ensured because we always run the AST consumer that triggered the build. This prevents cases where enqueuing a consumer during an AST build has different behaviour than enqueuing it after the AST has finished. rdar://40340631
10 KiB
10 KiB