Skip to content
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

[CodeCompletion] Fix a crash in CCExprRemover #32900

Merged

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jul 15, 2020

  • Handle cases where getArgumentLabelLocs().size() == 0
  • Add some assertions to ensure invariants
  • Explicit handling of llvm::Optional for getUnlabeledTrailingClosureIndex()
  • Avoid walking into nodes after the removing happens

rdar://problem/65556791 / https://bugs.swift.org/browse/SR-13219

- Handle cases where getArgumentLabelLocs().size() == 0
- Add some assertions to verify invariants
- Explicit handling of 'llvm::Optional' for 'getUnlabeledTrailingClosureIndex()'
- Avoid walking into nodes after the removing happens

rdar://problem/65556791
@rintaro
Copy link
Member Author

rintaro commented Jul 15, 2020

@swift-ci Please smoke test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants