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

DoConstantFolding: make typeMap param const #4346

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

grg
Copy link
Contributor

@grg grg commented Jan 22, 2024

The DoConstantFolding constructor takes a TypeMap parameter (typeMap) and stores it in a const TypeMap variable. Add the const keyword for the parameter. (It does not need to be non-const.)

@grg grg force-pushed the grgibb/constant_folding_missing_const branch from 38f65f1 to e8ae05c Compare January 23, 2024 04:19
The DoConstantFolding constructor takes a `TypeMap` parameter (typeMap)
and stores it in a `const TypeMap` variable. Add the `const` keyword for
the parameter. (It does not need to be non-const.)
@grg grg force-pushed the grgibb/constant_folding_missing_const branch from e8ae05c to 10a5257 Compare January 23, 2024 16:55
@fruffy fruffy enabled auto-merge (squash) January 23, 2024 17:40
@fruffy fruffy merged commit 7bdfe7c into main Jan 23, 2024
13 checks passed
@fruffy fruffy deleted the grgibb/constant_folding_missing_const branch January 23, 2024 18:05
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.

3 participants