Skip to content

test(buffers): zero-initialize the array in buffer_slice testConstInput#363

Merged
sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:pr/buffer-slice-init
Jul 17, 2026
Merged

test(buffers): zero-initialize the array in buffer_slice testConstInput#363
sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:pr/buffer-slice-init

Conversation

@sgerbino

Copy link
Copy Markdown
Collaborator

The uninitialized array is passed by pointer to const_buffer, which trips -Werror=maybe-uninitialized in the coverage build. The bytes are never read — the test only checks concept modeling — so zero-init is inert.

The uninitialized array is passed by pointer to const_buffer, which
trips -Werror=maybe-uninitialized in the coverage build. The bytes are
never read — the test only checks concept modeling — so zero-init is
inert.
@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://363.capy.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-07-17 16:03:54 UTC

@sgerbino
sgerbino merged commit f43fe43 into cppalliance:develop Jul 17, 2026
35 of 36 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Beast2 Jul 17, 2026
@sgerbino
sgerbino deleted the pr/buffer-slice-init branch July 17, 2026 21:29
@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.18%. Comparing base (f3d63c4) to head (0912f38).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #363      +/-   ##
===========================================
+ Coverage    98.15%   98.18%   +0.02%     
===========================================
  Files           76      152      +76     
  Lines         3913     8246    +4333     
===========================================
+ Hits          3841     8096    +4255     
- Misses          72      150      +78     
Flag Coverage Δ
linux 98.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 76 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3d63c4...0912f38. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants