[Audit] Eliminate raw pointers as begin/end markers in the CharRowCellReference class #3754

Open
opened 2026-01-30 23:29:28 +00:00 by claunia · 0 comments
Owner

Originally created by @miniksa on GitHub (Sep 5, 2019).

When turning on audit mode for the output buffer project, I ran into the circumstance where CharRowCellReference is using raw pointers as its iterator definitions for begin and end, which makes static analysis very unhappy as it still results in pointer math.

This represents adjusting CharRowCellReference to perform iteration in a way that audit finds palatable.

Originally created by @miniksa on GitHub (Sep 5, 2019). When turning on audit mode for the output buffer project, I ran into the circumstance where `CharRowCellReference` is using raw pointers as its iterator definitions for begin and end, which makes static analysis very unhappy as it still results in pointer math. This represents adjusting `CharRowCellReference` to perform iteration in a way that audit finds palatable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3754