Skip to content

Commit

Permalink
[format] Sort clang-format config
Browse files Browse the repository at this point in the history
Addresses review request.
  • Loading branch information
ricab committed Jan 31, 2025
1 parent 7dfb8c7 commit e607a6f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,41 @@
# We'll use defaults from the LLVM style, but with 4 columns indentation.
BasedOnStyle: LLVM
---
Language: Cpp
IndentWidth: 4
IndentExternBlock: NoIndent
BreakBeforeBraces: Custom
BinPackArguments: false
BinPackParameters: false
AccessModifierOffset: -4
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
PenaltyReturnTypeOnItsOwnLine: 120
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterExternBlock: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
AccessModifierOffset: -4
Cpp11BracedListStyle: true
Standard: Cpp11
DerivePointerAlignment: false
PointerAlignment: Left
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Custom
ColumnLimit: 120
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
DerivePointerAlignment: false
IndentExternBlock: NoIndent
IndentWidth: 4
InsertNewlineAtEOF: true
Language: Cpp
PenaltyReturnTypeOnItsOwnLine: 120
PointerAlignment: Left
Standard: Cpp11
---
Language: Proto
DisableFormat: true
Expand Down

0 comments on commit e607a6f

Please sign in to comment.