mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 18:09:45 +00:00
The following command was used to clang-format these files:
clang-format-18 -i $(find . \
-not \( -path "./\.*" -prune \) \
-not \( -path "./Base/*" -prune \) \
-not \( -path "./Build/*" -prune \) \
-not \( -path "./Toolchain/*" -prune \) \
-not \( -path "./Ports/*" -prune \) \
-type f -name "*.cpp" -o -name "*.mm" -o -name "*.h")
There are a couple of weird cases where clang-format now thinks that a
pointer access in an initializer list, e.g. `m_member(ptr->foo)`, is a
lambda return statement, and it puts spaces around the `->`.
|
||
|---|---|---|
| .. | ||
| OpenType | ||
| WOFF | ||
| WOFF2 | ||
| BitmapFont.cpp | ||
| BitmapFont.h | ||
| Emoji.cpp | ||
| Emoji.h | ||
| Font.cpp | ||
| Font.h | ||
| FontDatabase.cpp | ||
| FontDatabase.h | ||
| FontStyleMapping.h | ||
| FontWeight.h | ||
| ScaledFont.cpp | ||
| ScaledFont.h | ||
| Typeface.cpp | ||
| Typeface.h | ||
| UnicodeRange.h | ||
| VectorFont.cpp | ||
| VectorFont.h | ||