Skip to content

refactor: use forward declarations - #52547

Merged
ckerr merged 2 commits into
mainfrom
refactor/forward-declarations
Jul 31, 2026
Merged

ckerr merged 2 commits into
mainfrom
refactor/forward-declarations

Conversation

@ckerr

@ckerr ckerr commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Fifth in a series to remove unnecessary #include calls from the codebase. This PR tries to use forward declarations where possible so that heavier #include calls can be skipped.

Smaller payoff in this one, most of the opportunities for this change were in headers that didn't touch as many files. 🤷‍♂️

CC @nikwen, @dsanders11, @jkleinsc as prior reviewers / stakeholders

Checklist

Release Notes

Notes: none.

@ckerr
ckerr requested a review from a team as a code owner July 30, 2026 02:31
@ckerr
ckerr requested a review from a team as a code owner July 30, 2026 02:31
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jul 30, 2026
@ckerr
ckerr force-pushed the refactor/forward-declarations branch from 484007e to 3f40ae6 Compare July 30, 2026 02:32
@ckerr
ckerr marked this pull request as draft July 30, 2026 02:32
@ckerr
ckerr marked this pull request as ready for review July 30, 2026 11:09
@nikwen

nikwen commented Jul 30, 2026

Copy link
Copy Markdown
Member

I'll leave this one to @dsanders11 to review. He knows more about forward declarations and how to use them than I do. :)

Base automatically changed from chore/remove-unused-ui-includes to main July 30, 2026 17:14
@ckerr
ckerr force-pushed the refactor/forward-declarations branch from 3f40ae6 to 3ff4126 Compare July 30, 2026 18:16
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jul 31, 2026
@ckerr
ckerr force-pushed the refactor/forward-declarations branch from 3ff4126 to 898a78e Compare July 31, 2026 15:09
@ckerr
ckerr merged commit 13ade97 into main Jul 31, 2026
164 of 169 checks passed
@release-clerk

release-clerk Bot commented Jul 31, 2026

Copy link
Copy Markdown

No Release Notes

@ckerr
ckerr deleted the refactor/forward-declarations branch July 31, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants