source: nss/vendor/current/.clang-format@ 1513

Last change on this file since 1513 was 1513, checked in by dmik, 9 years ago

nss: Import version 3.23 from vendor.

Source URL: https://hg.mozilla.org/projects/nss/rev/NSS_3_23_RTM

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1---
2Language: Cpp
3# BasedOnStyle: Mozilla
4AccessModifierOffset: -2
5AlignAfterOpenBracket: true
6AlignEscapedNewlinesLeft: false
7AlignOperands: true
8AlignTrailingComments: true
9AllowAllParametersOfDeclarationOnNextLine: false
10AllowShortBlocksOnASingleLine: false
11AllowShortCaseLabelsOnASingleLine: false
12AllowShortIfStatementsOnASingleLine: false
13AllowShortLoopsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: All
15AlwaysBreakAfterDefinitionReturnType: true
16AlwaysBreakTemplateDeclarations: false
17AlwaysBreakBeforeMultilineStrings: false
18BreakBeforeBinaryOperators: None
19BreakBeforeTernaryOperators: true
20BreakConstructorInitializersBeforeComma: false
21BinPackParameters: true
22BinPackArguments: true
23ColumnLimit: 0
24ConstructorInitializerAllOnOneLineOrOnePerLine: true
25ConstructorInitializerIndentWidth: 4
26DerivePointerAlignment: true
27ExperimentalAutoDetectBinPacking: false
28IndentCaseLabels: true
29IndentWrappedFunctionNames: false
30IndentFunctionDeclarationAfterType: false
31MaxEmptyLinesToKeep: 1
32KeepEmptyLinesAtTheStartOfBlocks: true
33NamespaceIndentation: None
34ObjCBlockIndentWidth: 2
35ObjCSpaceAfterProperty: true
36ObjCSpaceBeforeProtocolList: false
37PenaltyBreakBeforeFirstCallParameter: 19
38PenaltyBreakComment: 300
39PenaltyBreakString: 1000
40PenaltyBreakFirstLessLess: 120
41PenaltyExcessCharacter: 1000000
42PenaltyReturnTypeOnItsOwnLine: 200
43PointerAlignment: Right
44SpacesBeforeTrailingComments: 1
45Cpp11BracedListStyle: false
46Standard: Cpp03
47IndentWidth: 4
48TabWidth: 8
49UseTab: Never
50BreakBeforeBraces: Linux
51SpacesInParentheses: false
52SpacesInSquareBrackets: false
53SpacesInAngles: false
54SpaceInEmptyParentheses: false
55SpacesInCStyleCastParentheses: false
56SpaceAfterCStyleCast: false
57SpacesInContainerLiterals: true
58SpaceBeforeAssignmentOperators: true
59ContinuationIndentWidth: 4
60CommentPragmas: '^ IWYU pragma:'
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62SpaceBeforeParens: ControlStatements
63DisableFormat: false
64SortIncludes: false
65...
Note: See TracBrowser for help on using the repository browser.