Meta: Switch to clang-format-20 as the standard formatter

This commit is contained in:
Timothy Flynn 2025-05-13 19:36:30 -04:00 committed by Andrew Kaster
commit d30f6f1b11
Notes: github-actions[bot] 2025-05-14 08:06:59 +00:00
4 changed files with 9 additions and 4 deletions

View file

@ -2,7 +2,12 @@
For low-level styling (spaces, parentheses, brace placement, etc), all code should follow the format specified in `.clang-format` in the project root.
**Important: Make sure you use `clang-format` version 19!**
**Important: Make sure you use the correct version of `clang-format`!**
See [lint-clang-format.sh](../Meta/lint-clang-format.sh) for the version enforced in CI.
See [AdvancedBuildInstructions.md](AdvancedBuildInstructions.md#clang-format-updates) for instructions on how to get an
up-to-date version if your OS distribution does not ship the correct version.
This document describes the coding style used for C++ code in the Ladybird Browser project. All new code should conform to this style.