Viatorus / emio

A safe and fast high-level and low-level character input/output library for bare-metal and RTOS based embedded systems with a very small binary footprint.
https://viatorus.github.io/emio/
MIT License
128 stars 3 forks source link

refactor: make code compatible with gcc 11/12/13 and clang 16/17 #76

Closed Viatorus closed 8 months ago

codecov-commenter commented 8 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (b0cdb42) 99.40% compared to head (2b32975) 99.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #76 +/- ## ========================================== - Coverage 99.40% 99.38% -0.02% ========================================== Files 56 56 Lines 5891 5894 +3 ========================================== + Hits 5856 5858 +2 - Misses 35 36 +1 ``` | [Files](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert) | Coverage Δ | | |---|---|---| | [include/emio/detail/conversion.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9jb252ZXJzaW9uLmhwcA==) | `100.00% <100.00%> (ø)` | | | [include/emio/detail/format/formatter.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9mb3JtYXQvZm9ybWF0dGVyLmhwcA==) | `98.72% <100.00%> (+<0.01%)` | :arrow_up: | | [include/emio/detail/format/ranges.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9mb3JtYXQvcmFuZ2VzLmhwcA==) | `100.00% <ø> (ø)` | | | [include/emio/detail/validated\_string.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC92YWxpZGF0ZWRfc3RyaW5nLmhwcA==) | `100.00% <ø> (ø)` | | | [include/emio/format.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2Zvcm1hdC5ocHA=) | `100.00% <100.00%> (ø)` | | | [include/emio/formatter.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2Zvcm1hdHRlci5ocHA=) | `100.00% <ø> (ø)` | | | [include/emio/reader.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL3JlYWRlci5ocHA=) | `100.00% <100.00%> (ø)` | | | [test/unit\_test/detail/test\_dragon.cpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-dGVzdC91bml0X3Rlc3QvZGV0YWlsL3Rlc3RfZHJhZ29uLmNwcA==) | `100.00% <ø> (ø)` | | | [include/emio/detail/scan/scanner.hpp](https://app.codecov.io/gh/Viatorus/emio/pull/76?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Toni+Neubert#diff-aW5jbHVkZS9lbWlvL2RldGFpbC9zY2FuL3NjYW5uZXIuaHBw) | `98.83% <50.00%> (-0.58%)` | :arrow_down: |

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