Skip to content

Commit

Permalink
Update .clang-format
Browse files Browse the repository at this point in the history
JIRA: RTOS-946
  • Loading branch information
anglov committed Oct 11, 2024
1 parent 7934e7e commit 8a3ee95
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,31 @@ ColumnLimit: 0
AlignAfterOpenBracket: DontAlign
UseTab: ForContinuationAndIndentation
IndentWidth: 4
ContinuationIndentWidth: 4
ContinuationIndentWidth: 8
BracedInitializerIndentWidth: 4
TabWidth: 4

PointerAlignment: Right
SpaceAfterCStyleCast: 'false'
SpaceAfterCStyleCast: false
BreakBeforeBraces: Stroustrup

AlignConsecutiveMacros: 'true'
AlignConsecutiveMacros:
Enabled: true
AlignEscapedNewlines: DontAlign
AlignTrailingComments: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortLoopsOnASingleLine: 'true'
IndentCaseLabels: 'true'
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
SortIncludes: 'false'
SortIncludes: false
SpacesBeforeTrailingComments: 2

BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: 'false'
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon

InsertNewlineAtEOF: true
...

0 comments on commit 8a3ee95

Please sign in to comment.