.clang-format 697 B

123456789101112131415161718
  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:
  16. ['CARBON_DEFINE_RAW_ENUM_CLASS', 'CARBON_DEFINE_RAW_ENUM_CLASS_NO_NAMES']
  17. StatementMacros: ['ABSTRACT']