mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-18 09:02:53 +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 `->`. |
||
---|---|---|
.. | ||
AST | ||
Compiler | ||
Parser | ||
Runtime | ||
Tests | ||
CMakeLists.txt | ||
CompilationPipeline.h | ||
DiagnosticEngine.cpp | ||
DiagnosticEngine.h | ||
Forward.h | ||
Function.cpp | ||
Function.h | ||
main.cpp | ||
Printer.h |