| # 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 | |
| StatementMacros: | |
| - DECL_CAST | |
| - DECL_VERIFIER |