Re-use C type conversion in C++ front-end [blocks: #4560]#4559
Re-use C type conversion in C++ front-end [blocks: #4560]#4559tautschnig merged 1 commit intodiffblue:developfrom
Conversation
9845680 to
3362dea
Compare
allredj
left a comment
There was a problem hiding this comment.
This PR failed Diffblue compatibility checks (cbmc commit: 9845680).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/109122612
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
allredj
left a comment
There was a problem hiding this comment.
This PR failed Diffblue compatibility checks (cbmc commit: 3362dea).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/109123056
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
3362dea to
d4c6749
Compare
d4c6749 to
705b075
Compare
| extern_cnt, noreturn_cnt, wchar_t_cnt, char16_t_cnt, char32_t_cnt, | ||
| int8_cnt, int16_cnt, int32_cnt, int64_cnt, ptr32_cnt, ptr64_cnt, | ||
| float80_cnt, float128_cnt, int128_cnt; | ||
| std::size_t wchar_t_count, char16_t_count, char32_t_count; |
There was a problem hiding this comment.
It may be worth adding a comment here that these do exist in C11, but are typedefs, whereas they are keywords in C++ since in C++11. This is in essence the reason why the C++ converter differs from the C one.
There was a problem hiding this comment.
Good point - I've added a comment, echoing pretty much what you said.
This avoids duplicating code and the need to update code in two places to add new features.
705b075 to
f13e8f9
Compare
allredj
left a comment
There was a problem hiding this comment.
✔️
Passed Diffblue compatibility checks (cbmc commit: f13e8f9).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/111893298
…sion C++ front-end: Declarator to symbol conversion follows C implementation [depends-on: diffblue#4559]
This avoids duplicating code and the need to update code in two places to add new features.
Only the last commit is new, the other two are #4557 and #4558, respectively.