projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove fcntl wrapper
[lttng-tools.git]
/
.clang-format
diff --git
a/.clang-format
b/.clang-format
index fff075fbfde5e4872abdf8e073d3aa482cf1b8a1..fd362abbad0ebdad4b06e147c7cb2cfa501e2a4e 100644
(file)
--- a/
.clang-format
+++ b/
.clang-format
@@
-1,9
+1,12
@@
-AlignAfterOpenBracket: DontAlign
+AccessModifierOffset: -8
+AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
+AlignConsecutiveMacros: Consecutive
AlignEscapedNewlines: Left
AlignEscapedNewlines: Left
-AlignOperands:
tru
e
+AlignOperands:
fals
e
AlignTrailingComments: false
AlignTrailingComments: false
+AllowAllConstructorInitializersOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
@@
-11,28
+14,38
@@
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
-BinPackArguments: true
+AlwaysBreakTemplateDeclarations: Yes
+BinPackArguments: false
BinPackParameters: false
BinPackParameters: false
+BitFieldColonSpacing: None
+BreakBeforeBraces: Custom
+BreakConstructorInitializers: AfterColon
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
- AfterNamespace:
tru
e
+ AfterNamespace:
fals
e
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
+ AfterCaseLabel: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
BreakBeforeBinaryOperators: None
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
BreakBeforeBinaryOperators: None
-BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakBeforeTernaryOperators: false
+BreakConstructorInitializers: AfterColon
BreakStringLiterals: false
BreakStringLiterals: false
-ColumnLimit: 80
-ContinuationIndentWidth: 16
+ColumnLimit: 100
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+ConstructorInitializerIndentWidth: 8
+ContinuationIndentWidth: 8
+Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
DerivePointerAlignment: false
DisableFormat: false
+EmptyLineBeforeAccessModifier: LogicalBlock
+FixNamespaceComments: true
ForEachMacros:
- 'cds_lfht_for_each_entry'
- 'cds_lfht_for_each_entry_safe'
ForEachMacros:
- 'cds_lfht_for_each_entry'
- 'cds_lfht_for_each_entry_safe'
@@
-40,10
+53,19
@@
ForEachMacros:
- 'cds_list_for_each_entry'
- 'cds_list_for_each_entry_safe'
- 'cds_list_for_each_entry'
- 'cds_list_for_each_entry_safe'
-IncludeBlocks:
Preserve
+IncludeBlocks:
Regroup
IncludeCategories:
IncludeCategories:
- - Regex: '.*'
+ - Regex: '".*"'
+ Priority: 0
+ - Regex: '<common/.*>'
Priority: 1
Priority: 1
+ - Regex: '<lttng/.*>'
+ Priority: 2
+ - Regex: '<vendor/.*>'
+ Priority: 3
+ - Regex: '<.*>'
+ Priority: 9
+
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentPPDirectives: None
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentPPDirectives: None
@@
-53,6
+75,7
@@
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
+NamespaceIndentation: None
# Taken from git's rules
PenaltyBreakAssignment: 10
# Taken from git's rules
PenaltyBreakAssignment: 10
@@
-63,6
+86,7
@@
PenaltyExcessCharacter: 100
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
+ReferenceAlignment: Left
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: true
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: true
This page took
0.028412 seconds
and
4
git commands to generate.