exiv2/.clang-format.optional
Dan Čermák 7be077e3e3 [clang-format] Move .clang-format to .clang-format.optional
This should stop editors/IDEs blindly auto-formatting existing code and thereby
resulting in unreadable diffs.

Signed-off-by: Dan Čermák <dan.cermak@cgc-instruments.com>
(cherry picked from commit d8e062ee709d999375239b3a6eb38cc692b4bc76)
2019-04-08 14:33:30 +02:00

29 lines
540 B
Plaintext

---
BasedOnStyle: Google
Language: Cpp
Standard: Cpp03
TabWidth: 4
UseTab: Never
ColumnLimit: 120
NamespaceIndentation: All
AccessModifierOffset: -4
ContinuationIndentWidth: 4
IndentWidth: 4
BreakBeforeBraces: Custom
BraceWrapping:
AfterStruct: true
AfterClass: true
AfterFunction: true
AfterControlStatement: false
AfterEnum: true
AfterNamespace: true
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
...