-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[IDE][SourceKit] Support escaped identifiers for the syntactic rename and related idents requests. #31431
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
Conversation
0e48aec
to
33cbf7a
Compare
@swift-ci please test |
@swift-ci Please Build Toolchain macOS Platform |
Build failed |
Build failed |
33cbf7a
to
45d5bfa
Compare
@swift-ci please test |
@swift-ci Please Build Toolchain macOS Platform |
Build failed |
Build failed |
45d5bfa
to
a797038
Compare
… and related idents requests. Resolves rdar://problem/46409010 Resolves rdar://problem/48256383
a797038
to
0f8619b
Compare
@swift-ci please test |
@swift-ci Please Build Toolchain macOS Platform |
Build failed |
Build failed |
Both would previously not account for the extra two backticks in their name, e.g. giving
[`fo]o`
rather than[`foo`]
.This updates their ranges to include the backticks, and for syntactic rename, to account for them when comparing base names and argument labels with expected values. It also updates Swift -> ObjC name translation to account for them too.
Resolves rdar://problem/46409010
Resolves rdar://problem/48256383