Skip to content

[BoundsSafety] Do not check for bounds-attr output arguments in dependent contexts (#9733) #10029

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

ziqingluo-90
Copy link

Same as #9733 but towards stable/20240723

(rdar://141708643)

…dent contexts (swiftlang#9733)

The bounds-attribute-only mode may be applied to C++ programs, where
attributed functions/fields may be used in dependent contexts such as
a template.  DO NOT type check at those places.  Their instantiations
will still be checked.

(rdar://141708643)

(cherry picked from commit d4329b6)
@ziqingluo-90 ziqingluo-90 requested a review from a team as a code owner February 14, 2025 00:49
@ziqingluo-90
Copy link
Author

@swift-ci test
@swift-ci test llvm

@ziqingluo-90
Copy link
Author

@swift-ci please test

@ziqingluo-90 ziqingluo-90 merged commit 19efbd1 into swiftlang:stable/20240723 Feb 15, 2025
5 checks passed
@ziqingluo-90 ziqingluo-90 deleted the ziqing/stable20240723/eng/PR-141708643 branch February 25, 2025 19:34
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.

1 participant