aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
blob: 977ed2dbf00382efdf36a52330147e56ae465096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: true
BinPackParameters: true
BreakBeforeBraces: GNU
ColumnLimit:     79
IndentCaseLabels: false
MaxEmptyLinesToKeep: 1
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 60
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerBindsToType: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Always
SpacesBeforeTrailingComments: 1
SpacesInParentheses: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: true
Cpp11BracedListStyle: true
Standard:        Cpp11
SortIncludes: false
IndentWidth:     2
TabWidth:        4
UseTab:          Never
IndentFunctionDeclarationAfterType: false
ContinuationIndentWidth: 4
...
th_setup /tools/ # start autotools ignore autom4te.cache/ config/ Makefile Makefile.in aclocal.m4 app.info compile config.h config.h.in config.log config.guess config.sub config.status configure configure.scan coverage_report depcomp install-sh libtool m4 missing stamp-h1 ltmain.sh ylwrap test-driver .cproject *.iml .bootstrap.ok .settings # stop autotools ignore # OSX and some IDE .DS_Store .idea/ .project # cscope and ctags /cscope.* /tags ID TAGS # ggtags GPATH GRTAGS GTAGS # Generated documentation /build-root/docs /build-root/.doxygen-bootstrap.ok /build-root/.doxygen-siphon.dep # indent backup files *.BAK # Python bytecode *.pyc # Python api generator /src/vpp-api/python/build /src/vpp-api/python/dist /src/vpp-api/python/vpp_papi.egg-info /src/vpp-api/python/vpp_papi/memclnt.py /src/vpp-api/python/vpp_papi/vpe.py # Build files in the test directory /test/*.ok # vppctl command list /src/scripts/vppctl-cmd-list