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

Conversation

@bdero
Copy link
Member

@bdero bdero commented Apr 19, 2023

These keep turning up, so I did a little bash-fu to find them all.

grep -lL "#pragma once" $(grep -lL "#ifndef .*_H_" $(find . | grep "\.h$")) | cut -c 3-

@bdero bdero requested review from chinmaygarde and zanderso April 19, 2023 04:35
@bdero bdero self-assigned this Apr 19, 2023
@flutter-dashboard flutter-dashboard bot added embedder Related to the embedder API platform-fuchsia labels Apr 19, 2023
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#pragma once
Copy link
Member

Choose a reason for hiding this comment

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

Some packages use define guards while others use pragmas. It would be good to be consistent with other headers in the package.

But this is definitely an improvement.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@bdero bdero force-pushed the bdero/header-guards branch from c0dc616 to b836093 Compare April 19, 2023 20:22
@bdero bdero added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 19, 2023
@auto-submit auto-submit bot merged commit 25c5747 into flutter:main Apr 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 20, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 20, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 20, 2023
…125183)

flutter/engine@d726345...2db85cb

2023-04-20 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from suSuT9F8zuP-pBg-E... to OcPCdaE17MAihaCrD... (flutter/engine#41352)
2023-04-19 skia-flutter-autoroll@skia.org Roll Dart SDK from fe8bb0565a30 to 88a3b66b50d6 (2 revisions) (flutter/engine#41349)
2023-04-19 bdero@google.com Add missing header guards (flutter/engine#41322)
2023-04-19 joshualitt@google.com [web] Fix trivial type issue. (flutter/engine#40956)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from suSuT9F8zuP- to OcPCdaE17MAi

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 chinmaygarde@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

autosubmit Merge PR when tree becomes green via auto submit App embedder Related to the embedder API platform-fuchsia

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants