dsanders11

#54015: build: run clang-tidy on Electron's headers

Merged
Created: Sep 16, 2026, 5:40:28 PM
Merged: Sep 16, 2026, 10:10:24 PM
2 comments
Target: main

Description of Change

Surface clang-tidy warnings for our headers as well, and fix up the dozen or so existing failures. This also disables bugprone-forward-declaration-namespace for now as it sometimes incorrectly reports issues in upstream code despite the header filter.

Checklist

Release Notes

Notes: none

Backports

45-x-y
Merged
PR Number
#54021
Merged At
Sep 16, 2026, 11:27:41 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron