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
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