microsoft/Terminal

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

Open

#2,672 opened on Sep 5, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-CodeHealthArea-OutputHelp WantedIssue-TaskProduct-ConhostProduct-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

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.

Contributor guide