Commit d1133f8
authored
Add clang-format version 18 to
Higher versions of `clang-format` produce different outputs than the
version used to format what's currently in the repository. On a system
where the developer installs a system package for clang-format (using,
e.g., `apt install clang-format`), they may unknowingly get a different
version than what was used to format the code in the repository. If they
run `./scripts/format_all.sh` they may see many changes and not realize
that it's due to a different in clang-format versions.
Adding clang-format to `requirements.in` and regenerating
`requirements.txt` is an easy way to get a known version of
clang-format. Thankfully, requiring clang-format does not bring in other
dependencies, so this ends up being a fairly surgical intervention.requirements.in (#1039)1 parent 99d417d commit d1133f8
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
0 commit comments