mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we would always return true if we encountered a decl modifier keyword, however this could cause us to incorrectly consider SIL's usage of such keywords, e.g 'private', to be the start of a Swift decl. Adjust the logic to check the next token for the start of a Swift decl.
2.6 KiB
2.6 KiB