-
Notifications
You must be signed in to change notification settings - Fork 15.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix clang-tidy warnings #38079
Conversation
@dsanders11 lint fails on these
|
two things failing looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint needs to be fixed
@dsanders11 looks like it's confused by |
Lint fixed. Refactored the problematic code to remove the comment all together. electron/shell/browser/api/electron_api_system_preferences.cc Lines 20 to 34 in 225336e
|
No Release Notes |
Description of Change
Fixes the current warnings from
clang-tidy
, other thanmodernize-use-nullptr
which I'm disabling for now as there's too much noise. There's a couple false positives I had to silence with// NOLINT
.The goal is to add a
clang-tidy
CI job, but that will be done in a future PR.For completeness, here is the
clang-tidy
output without the fixes:Warnings
Checklist
Release Notes
Notes: none