2014-03-14 00:45:44 +08:00
|
|
|
# Defines the Google C++ style for automatic reformatting.
|
|
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
|
|
BasedOnStyle: Google
|
2017-03-21 17:16:54 +08:00
|
|
|
DerivePointerAlignment: false
|
2016-04-08 05:06:55 +08:00
|
|
|
MaxEmptyLinesToKeep: 1
|
2024-04-19 18:51:52 +08:00
|
|
|
IfMacros:
|
|
|
|
- IF
|
|
|
|
- IF_NOT
|
|
|
|
Macros:
|
|
|
|
# Make clang-format think TurboShaft `ELSE` expands to just `else`, so that
|
|
|
|
# it formats well alongside `if`
|
|
|
|
- ELSE=else
|
2024-03-30 16:54:35 +08:00
|
|
|
StatementMacros:
|
|
|
|
- DECL_CAST
|
|
|
|
- DECL_VERIFIER
|