Skip to content

Commit

Permalink
Add .clang-format file from CMSSW
Browse files Browse the repository at this point in the history
This makes sure you're pickig up the right code style also when cloning
combine outside the CMSSW environment.
  • Loading branch information
guitargeek committed Nov 19, 2024
1 parent 1d69ee1 commit 8c74059
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 120
NamespaceIndentation: All
SortIncludes: false
IndentWidth: 2
AccessModifierOffset: -2
PenaltyBreakComment: 30
PenaltyExcessCharacter: 100
AlignAfterOpenBracket: Align
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
ReflowComments: false
BinPackArguments: false
BinPackParameters: false

0 comments on commit 8c74059

Please sign in to comment.