andreasfertig / cppinsights

C++ Insights - See your source code with the eyes of a compiler
https://cppinsights.io
MIT License
4.04k stars 238 forks source link

Fixed #628: Cfront mode and coroutines. #631

Closed andreasfertig closed 5 months ago

andreasfertig commented 5 months ago

This patch fixes a crash. Certain parts of the coroutine transformation aren't correctly transformed to C code due to the architecture of the CodeGenerators.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.58%. Comparing base (a8e7fba) to head (764d870). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #631 +/- ## ========================================== + Coverage 97.51% 97.58% +0.06% ========================================== Files 21 21 Lines 6327 6330 +3 ========================================== + Hits 6170 6177 +7 + Misses 157 153 -4 ``` | [Flag](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | Coverage Δ | | |---|---|---| | [insights-macos](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | `96.90% <100.00%> (+0.03%)` | :arrow_up: | | [insights-ubuntu-amd64-libcxx-No](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | `98.03% <100.00%> (+0.07%)` | :arrow_up: | | [insights-ubuntu-amd64-libcxx-Yes](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | `98.05% <100.00%> (+0.03%)` | :arrow_up: | | [insights-ubuntu-arm64-libcxx-No](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | `97.97% <100.00%> (+0.07%)` | :arrow_up: | | [insights-ubuntu-arm64-libcxx-Yes](https://app.codecov.io/gh/andreasfertig/cppinsights/pull/631/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig) | `97.99% <100.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Andreas+Fertig#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.