.clang-format 654 B

1234567891011121314151617
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. ---
  5. BasedOnStyle: Google
  6. AllowShortBlocksOnASingleLine: 'false'
  7. AllowShortIfStatementsOnASingleLine: Never
  8. AllowShortLoopsOnASingleLine: 'false'
  9. DerivePointerAlignment: 'false'
  10. ExperimentalAutoDetectBinPacking: 'false'
  11. FixNamespaceComments: 'true'
  12. PointerAlignment: Left
  13. # We abuse control macros for formatting other kinds of macros.
  14. SpaceBeforeParens: ControlStatementsExceptControlMacros
  15. IfMacros: ['CARBON_DEFINE_RAW_ENUM_CLASS']
  16. StatementMacros: ['ABSTRACT']