Skip to content

Conversation

patrykstefanski
Copy link

Add functions for checking various properties of dependent count to ValueDecl:

  • Whether the count has dereference or not
  • Whether the count is used in an inout pointer

Add a similar function to check if a count-attributed type is depending on an inout count.

Add functions for checking various properties of dependent count to
ValueDecl:
- Whether the count has dereference or not
- Whether the count is used in an inout pointer

Add a similar function to check if a count-attributed type is depending
on an inout count.
@patrykstefanski patrykstefanski self-assigned this Sep 29, 2025
@patrykstefanski patrykstefanski added the clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang label Sep 29, 2025
@patrykstefanski
Copy link
Author

This is taken from the original PR: #11490

@patrykstefanski
Copy link
Author

@swift-ci test llvm

@patrykstefanski patrykstefanski merged commit fdd38f8 into swiftlang:next Sep 30, 2025
0 of 2 checks passed
@patrykstefanski patrykstefanski deleted the eng/pstefanski/dependent-count-utils branch September 30, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:bounds-safety Issue relating to the experimental -fbounds-safety feature in Clang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants