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

Handle more type cases in ConstantFolder::synthesizeLiteral #1073

Open
kchristin22 opened this issue Sep 3, 2024 · 0 comments
Open

Handle more type cases in ConstantFolder::synthesizeLiteral #1073

kchristin22 opened this issue Sep 3, 2024 · 0 comments

Comments

@kchristin22
Copy link
Collaborator

Currently any type that is not an integral type, a floating type, a boolean type or a pointer type is assigned an int value Expr in ConstantFolder::synthesizeLiteral , which could cause compilation errors. We should expand this function to handle complex types, typedefs, structs, class members etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant