winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

.clang-format (1057B)


      1 # Copyright (c) Microsoft Corporation. All rights reserved.
      2 #
      3 # -- Usage --
      4 # Read README.md for initial context, and instructions for VSCode and command line.
      5 #
      6 # See here for the meaning of each item in this file: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
      7 # To get all the options that are part of a standard style such as Microsoft, do this:
      8 #   > clang-format --style=Microsoft -dump-config > clang-format-microsoft.txt
      9 #
     10 # -- Philosophy --
     11 # We will try to adhere to the standard Microsoft style as much as possible.
     12 # The overrides below are deviations from the standard. Keep it short.
     13 ---
     14 Language: Cpp
     15 BasedOnStyle: Microsoft
     16 
     17 AllowAllArgumentsOnNextLine: false
     18 AllowAllParametersOfDeclarationOnNextLine: false
     19 AlwaysBreakBeforeMultilineStrings: true
     20 AlwaysBreakTemplateDeclarations: Yes
     21 BinPackArguments: false
     22 BinPackParameters: false
     23 BraceWrapping:
     24   AfterCaseLabel: true
     25 BreakConstructorInitializers: BeforeComma
     26 BreakStringLiterals: false
     27 InsertNewlineAtEOF: true
     28 PackConstructorInitializers: CurrentLine
     29 PointerAlignment: Left