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

Avoid mutations that break argument-dependent lookup (ADL) #312

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Conversation

afd
Copy link
Member

@afd afd commented Aug 17, 2024

Identifies and avoids mutating various expressions that involve implicit casts from enums or class instances to primitive types, that might affect the outcome of argument-dependent lookup.

Fixes #296.

Identifies and avoids mutating various expressions that involve
implicit casts from enums or class instances to primitive types, that
might affect the outcome of argument-dependent lookup.

Fixes #296.
@afd
Copy link
Member Author

afd commented Aug 28, 2024

@JonathanFoo0523 would you be able to review this please?

Copy link
Collaborator

@JonathanFoo0523 JonathanFoo0523 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change and question.

Otherwise, LGTM.

src/libdredd/src/mutate_visitor.cc Outdated Show resolved Hide resolved
src/libdredd/src/mutate_visitor.cc Show resolved Hide resolved
@afd afd merged commit 3d19dca into main Aug 30, 2024
9 checks passed
@afd afd deleted the issue-296 branch August 30, 2024 15:42
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.

Dredd mutator function hides declarations in namespace
2 participants