-
Notifications
You must be signed in to change notification settings - Fork 130
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
replace-dependent-typedef breaks on typedef in template struct #279
Labels
Comments
It seems that the problem is this check that gets misled by different string representations:
|
Some possible directions:
|
Thank you for your bug report! |
I'm happy to propose a PR as a starting point. (And probably basic unit tests for this pass.) |
emaxx-google
added a commit
to emaxx-google/creduce
that referenced
this issue
Jan 14, 2025
Only consider typedefs that depend on other typedefs in replace-dependent-typedef. This prevents the pass from reporting a success when no actual change has been made, like in the case when a typedef belongs to and refers to a template struct (where multiple possible string representations may confuse the checks). This fixes csmith-project#279.
emaxx-google
added a commit
to emaxx-google/creduce
that referenced
this issue
Jan 14, 2025
Only consider typedefs that depend on other typedefs in replace-dependent-typedef. This prevents the pass from reporting a success when no actual change has been made, like in the case when a typedef belongs to and refers to a template struct (where multiple possible string representations may confuse the checks). This fixes csmith-project#279.
emaxx-google
added a commit
to emaxx-google/creduce
that referenced
this issue
Jan 14, 2025
Only consider typedefs that depend on other typedefs in replace-dependent-typedef. This prevents the pass from reporting a success when no actual change has been made, like in the case when a typedef belongs to and refers to a template struct (where multiple possible string representations may confuse the checks). This fixes csmith-project#279.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following error is generated:
when the input is:
The text was updated successfully, but these errors were encountered: