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

Conversation

@matanlurey
Copy link
Contributor

Closes flutter/flutter#133415.

This includes a performance optimization for the runner itself, where --include=...s are used as a base to check, versus checking every file and seeing if it exists in a list. This works better with what is expected in ci/bin/format.dart without any contract change.

Also added a few more functional tests of the system.

@matanlurey matanlurey requested a review from gaaclarke January 26, 2024 22:43
final StringSink _stdOut;

/// Stderr.
final StringSink _stdErr;
Copy link
Member

Choose a reason for hiding this comment

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

pedantic nit: why not just _stdout, _stderr to match capitalisation elsewhere, and in the dart IO APIs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I hate myself I suppose.

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.

nice! Thanks for fixing up/enforcing this.

@matanlurey
Copy link
Contributor Author

@gaaclarke I am going to land this to get enforcement in before header files are added/changed, but please still leave comments and I'll send a follow-up PR. Thanks!

@matanlurey matanlurey merged commit 2687ddb into flutter:main Jan 27, 2024
@matanlurey matanlurey deleted the engine-fix-and-enforce-header-guards branch January 27, 2024 00:32
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate #pragma once to #ifndef *_H_ guards and catch backslides

2 participants