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

When building clang-tidy commands, filter out the sed command that may be appended to each compile command #49605

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

jason-simmons
Copy link
Member

See #49542

@@ -57,6 +57,7 @@ class Command {

static final RegExp _pathRegex = RegExp(r'\S*clang/bin/clang');
static final RegExp _argRegex = RegExp(r'-MF \S*');
static final RegExp _sedRegex = RegExp(r'&& sed.*$');
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if this shouldn't just filter out anything following the first &&?

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

@jason-simmons jason-simmons force-pushed the clang_tidy_filter_sed branch from ad229b6 to c4d1300 Compare January 8, 2024 21:29
@jason-simmons jason-simmons force-pushed the clang_tidy_filter_sed branch from c4d1300 to 1db054b Compare January 8, 2024 22:00
@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 8, 2024
@auto-submit auto-submit bot merged commit 09a74a0 into flutter:main Jan 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 9, 2024
…141144)

flutter/engine@ee1ded6...09a74a0

2024-01-08 jason-simmons@users.noreply.github.com When building clang-tidy commands, filter out the sed command that may be appended to each compile command (flutter/engine#49605)
2024-01-08 skia-flutter-autoroll@skia.org Roll Skia from af845097acae to 5497d5a53ae2 (6 revisions) (flutter/engine#49606)
2024-01-08 skia-flutter-autoroll@skia.org Roll Skia from a0aba842460c to af845097acae (3 revisions) (flutter/engine#49601)

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 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
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants