Skip to content

direct support for ID_c_bool in exprt #438

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

Merged

Conversation

mgudemann
Copy link
Contributor

The is_true() / is_false() functions in exprt currently support
only the ID_bool type. In Java, Boolean values are represented as
ID_c_bool due to the internal JVM usage of integers. Adding this
support here seems easier than having special treatment in
java_bytecode.

cf. #221

The `is_true()` / `is_false()` functions in `exprt` currently support
only the `ID_bool` type. In Java, Boolean values are represented as
`ID_c_bool` due to the internal JVM usage of integers. Adding this
support here seems easier than having special treatment in
`java_bytecode`.
@kroening
Copy link
Member

kroening commented Feb 8, 2017

bool is very different from c_bool, and any confusion between the two should be avoided. In general, there shouldn't be anything language-specific in util/*.

NathanJPhillips pushed a commit to NathanJPhillips/cbmc that referenced this pull request Aug 22, 2018
Add GPG keys to improve Travis build stability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants