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

Verify param direction #3390

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Verify param direction #3390

merged 2 commits into from
Dec 13, 2024

Conversation

kennykerr
Copy link
Collaborator

We can't remove In entirely for Win32 metadata since there are cases where the trailing "retval" heuristic needs to eliminate parameters based on this flag (trailing in/out parameters) but a quick review did pick up one case where this was resulting in incorrect code gen.

Fixes: #3385

@kennykerr kennykerr merged commit 198c61a into master Dec 13, 2024
37 checks passed
@kennykerr kennykerr deleted the cpp-param-direction branch December 13, 2024 17:35
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.

Consider removing ParamAttributes::In from the winmd reader
1 participant