Skip to content

Commit

Permalink
[tool] Add note about clang version used in CI to tool readme (#7273)
Browse files Browse the repository at this point in the history
This repo uses clang 15 to format files. Newer versions of clang format code differently. This PR adds a note to the tool README about this and adds sample instructions for how to install clang 15 on macOS. We might want to add instructions for other platforms.

Fixes flutter/flutter#152651

Additional context
- #7267
- #7271
  • Loading branch information
Rexios80 authored Aug 2, 2024
1 parent 3ad6fb8 commit cc9ff47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ anywhere within a package).
dart run script/tool/bin/flutter_plugin_tools.dart format --packages package_name
```

The `flutter/packages` repository uses clang version `15.0.0` . Newer versions of clang may format code differently.

### Run the Dart Static Analyzer

```sh
Expand Down

0 comments on commit cc9ff47

Please sign in to comment.