Add .clang-format for google style with minimal adaptations

This commit is contained in:
Matthias Grob 2022-03-30 20:04:37 +02:00
parent 55563eba49
commit d146405753

13
.clang-format Normal file
View File

@ -0,0 +1,13 @@
# Google C++ style as base
Language: Cpp
BasedOnStyle: Google
# Indentation using tabs
UseTab: ForContinuationAndIndentation
TabWidth: 8
IndentWidth: 8
ContinuationIndentWidth: 8
ConstructorInitializerIndentWidth: 8
AccessModifierOffset: -8
ColumnLimit: 120 # Allow more collumns