You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
939 B
Plaintext
42 lines
939 B
Plaintext
8 years ago
|
---
|
||
3 years ago
|
# Indentation for all files
|
||
|
ColumnLimit: 120
|
||
|
IndentWidth: 4
|
||
8 years ago
|
TabWidth: 4
|
||
|
UseTab: Never
|
||
3 years ago
|
|
||
|
# C++ Options
|
||
|
Language: Cpp
|
||
|
Standard: c++17
|
||
|
|
||
|
BasedOnStyle: Google
|
||
|
|
||
|
IncludeBlocks: Preserve
|
||
8 years ago
|
|
||
|
AccessModifierOffset: -4
|
||
|
ContinuationIndentWidth: 4
|
||
|
|
||
3 years ago
|
# Constructor initializers better formatted in presence of preprocessor conditions (see image.cpp)
|
||
|
BreakConstructorInitializers: AfterColon
|
||
|
AllowAllConstructorInitializersOnNextLine: true
|
||
|
|
||
|
# break braces for most of the cases (except conditionals and loops)
|
||
8 years ago
|
BreakBeforeBraces: Custom
|
||
|
BraceWrapping:
|
||
|
AfterStruct: true
|
||
|
AfterClass: true
|
||
|
AfterFunction: true
|
||
|
AfterControlStatement: false
|
||
|
AfterEnum: true
|
||
|
AfterNamespace: true
|
||
|
|
||
3 years ago
|
# Do not allow SingleLine statements (to improve coverage statistics)
|
||
8 years ago
|
AllowShortFunctionsOnASingleLine: None
|
||
|
AllowShortBlocksOnASingleLine: false
|
||
|
AllowShortIfStatementsOnASingleLine: false
|
||
|
AllowShortLoopsOnASingleLine: false
|
||
|
|
||
3 years ago
|
Cpp11BracedListStyle: true
|
||
6 years ago
|
|
||
8 years ago
|
...
|