Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@matanlurey
Copy link
Contributor

No description provided.

@matanlurey matanlurey added the test: all See https://github.com/flutter/engine/blob/main/docs/ci/Engine-pre-submits-and-post-submits.md label Nov 16, 2023
@matanlurey matanlurey marked this pull request as ready for review November 17, 2023 17:59

#ifndef FLUTTER_ENGINE_NO_PROTOTYPES

// NOLINTBEGIN(google-objc-function-naming)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way for us to not apply google-objc-function-naming to non-Objective-C headers?

We should apply it to headers under //flutter/shell/platform/darwin, but most of the repo should be treated as C/C++.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My guess is because this is imported by Obj-C code, it assumes it's Obj-C.

Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes under //flutter/shell/platform/darwin lgtm. I'd prefer we adjust the linting config for embedder.h so we're not running unwanted linters on it.

@matanlurey
Copy link
Contributor Author

The changes under //flutter/shell/platform/darwin lgtm. I'd prefer we adjust the linting config for embedder.h so we're not running unwanted linters on it.

I unfortunately don't think there is a configuration option for what we want.

I'm of the mind that the NOLINT markers are the lesser of evils here, though defer to you.

@matanlurey matanlurey requested a review from cbracken November 17, 2023 21:35
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; would be nice to find a way to tell the linter somehow that embedder.h is a C header.

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 18, 2023
@auto-submit auto-submit bot merged commit ed456a4 into flutter:main Nov 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 18, 2023
fluttermirroringbot pushed a commit to flutter/flutter that referenced this pull request Nov 18, 2023
…138658)

flutter/engine@5f40c9f...384f750

2023-11-18 matanlurey@users.noreply.github.com Make `impeller/...` compatible with `.clang-tidy`. (flutter/engine#48155)
2023-11-18 matanlurey@users.noreply.github.com Make `shell/platform/{darwin|embedder}/...` compatible with `.clang-tidy`. (flutter/engine#48160)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: desktop autosubmit Merge PR when tree becomes green via auto submit App platform-ios platform-macos test: all See https://github.com/flutter/engine/blob/main/docs/ci/Engine-pre-submits-and-post-submits.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants