VirtualBox

source: vbox/trunk/src/libs/libslirp-4.8.0/.clang-format@ 105770

Last change on this file since 105770 was 105533, checked in by vboxsync, 4 months ago

libs/libslirp: merged our changes into libslirp 4.8.0. enabled updated version. bugref:10268

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1# https://clang.llvm.org/docs/ClangFormat.html
2# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
3---
4Language: Cpp
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false # although we like it, it creates churn
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlinesLeft: true
9AlignOperands: true
10AlignTrailingComments: false # churn
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterReturnType: None # AlwaysBreakAfterDefinitionReturnType is taken into account
18AlwaysBreakBeforeMultilineStrings: false
19BinPackArguments: true
20BinPackParameters: true
21BraceWrapping:
22 AfterControlStatement: false
23 AfterEnum: false
24 AfterFunction: true
25 AfterStruct: false
26 AfterUnion: false
27 BeforeElse: false
28 IndentBraces: false
29BreakBeforeBinaryOperators: None
30BreakBeforeBraces: Custom
31BreakBeforeTernaryOperators: false
32BreakStringLiterals: true
33ColumnLimit: 80
34ContinuationIndentWidth: 4
35Cpp11BracedListStyle: false
36DerivePointerAlignment: false
37DisableFormat: false
38IndentCaseLabels: false
39IndentWidth: 4
40IndentWrappedFunctionNames: false
41KeepEmptyLinesAtTheStartOfBlocks: false
42MacroBlockBegin: '.*_BEGIN$' # only PREC_BEGIN ?
43MacroBlockEnd: '.*_END$'
44MaxEmptyLinesToKeep: 2
45PointerAlignment: Right
46ReflowComments: true
47SortIncludes: false
48SpaceAfterCStyleCast: false
49SpaceBeforeAssignmentOperators: true
50SpaceBeforeParens: ControlStatements
51SpaceInEmptyParentheses: false
52SpacesBeforeTrailingComments: 1
53SpacesInContainerLiterals: true
54SpacesInParentheses: false
55SpacesInSquareBrackets: false
56Standard: Auto
57UseTab: Never
58...
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette