Skip to content

Commit

Permalink
add lost clang format file
Browse files Browse the repository at this point in the history
Signed-off-by: Timm Ruppert <[email protected]>
  • Loading branch information
TimmRuppert committed Nov 29, 2024
1 parent 655243f commit 9e42a92
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Use the Google style in this project.
Language: Cpp
BasedOnStyle: Google

# Google style only requires consistency: "int& a" vs. "int &a" vs. "int & a"
DerivePointerAlignment: false
PointerAlignment: Left

# Google style only requires consistency: "const int a" vs. "int const a"
QualifierAlignment: Left

# empty lines between function definitions
SeparateDefinitionBlocks: Always
EmptyLineBeforeAccessModifier: LogicalBlock

# break with the Google style but be consistent with python
IndentWidth: 4
UseTab: Never

# allow more characters per line
ColumnLimit: 180

0 comments on commit 9e42a92

Please sign in to comment.