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

Use the Clang unreachable code warning flag in the engine tree #44458

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

jason-simmons
Copy link
Member

No description provided.

result->Success();
exit(EXIT_SUCCESS);
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this a bug? The result is never going to have a change to sent over the channel for the other side to respond.

Copy link
Member Author

Choose a reason for hiding this comment

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

Initially I figured I'd leave the result->Success there for consistency. But it does not really serve a purpose - the result will not be sent to the client after the process exits.

Removed the result->Success call`.

@jason-simmons jason-simmons force-pushed the clang-warn-unreachable branch from 948d46d to 3917b92 Compare August 7, 2023 20:38
@jason-simmons jason-simmons force-pushed the clang-warn-unreachable branch 3 times, most recently from 8743bb5 to 941f7e6 Compare August 8, 2023 00:56

delegate->PresentTexture(texture_info);
return delegate->PresentTexture(texture_info);
Copy link
Member

Choose a reason for hiding this comment

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

👍

@jason-simmons jason-simmons force-pushed the clang-warn-unreachable branch 2 times, most recently from 1bc8801 to 822cd5b Compare August 8, 2023 01:20
@jason-simmons jason-simmons force-pushed the clang-warn-unreachable branch from 822cd5b to 7525fbc Compare August 8, 2023 02:19
@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 8, 2023
@auto-submit auto-submit bot merged commit 2e2321e into flutter:main Aug 8, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 8, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 8, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 8, 2023
…132149)

flutter/engine@22bd35a...dd03fae

2023-08-08 10456171+caroqliu@users.noreply.github.com Remove GFX branches from Flutter engine (flutter/engine#44401)
2023-08-08 jason-simmons@users.noreply.github.com Use the Clang unreachable code warning flag in the engine tree (flutter/engine#44458)
2023-08-08 skia-flutter-autoroll@skia.org Roll Skia from 66ba512c613c to 30c0319e7e42 (3 revisions) (flutter/engine#44500)

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
@reidbaker reidbaker mentioned this pull request Aug 15, 2023
14 tasks
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
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 e: impeller platform-android
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants