mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We need to modify the pointer pointing to the cancellation flag when reusing an ASTContext for code completion. This is not possible by the previous design because `TypeCheckerOptions` was `const`. Moving the cancellation flag to `ASTContext` will also allow other stages of the compiler to honor a cancellation request.
49 KiB
49 KiB