mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
PR-URL: https://github.com/nodejs/node/pull/59805 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
18 lines
578 B
YAML
18 lines
578 B
YAML
# Defines the Google C++ style for automatic reformatting.
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: Google
|
|
DerivePointerAlignment: false
|
|
MaxEmptyLinesToKeep: 1
|
|
IfMacros:
|
|
- IF
|
|
- IF_NOT
|
|
Macros:
|
|
# Make clang-format think TurboShaft `ELSE` expands to just `else`, so that
|
|
# it formats well alongside `if`
|
|
- ELSE=else
|
|
- FOR_WITH_HANDLE_SCOPE(isolate, init, loop_var, limit_check, increment)=for(init; loop_var; increment)
|
|
- WHILE_WITH_HANDLE_SCOPE(isolate, limit_check)=while(limit_check)
|
|
StatementMacros:
|
|
- DECL_CAST
|
|
- DECL_VERIFIER
|