Fork me on GitHub

source: git/.clang-format @ b1e03e5

Last change on this file since b1e03e5 was b1e03e5, checked in by Pavel Demin <pavel-demin@…>, 2 years ago

add AllowShortCaseLabelsOnASingleLine to .clang-format

  • Property mode set to 100644
File size: 774 bytes
1BasedOnStyle: LLVM
2Language: Cpp
3IndentWidth: 2
4ConstructorInitializerIndentWidth: 2
5ContinuationIndentWidth: 2
6ColumnLimit: 0
7ReflowComments: false
8AlignOperands: false
9AlignTrailingComments: false
10AlignAfterOpenBracket: DontAlign
11BreakConstructorInitializers: AfterColon
12SpaceBeforeParens: Never
13BreakBeforeBinaryOperators: NonAssignment
14BreakBeforeTernaryOperators: false
15BreakBeforeBraces: Custom
17  AfterClass: true
18  AfterControlStatement: true
19  AfterEnum: true
20  AfterFunction: true
21  AfterNamespace: true
22  AfterObjCDeclaration: true
23  AfterStruct: true
24  AfterUnion: true
25  BeforeCatch: true
26  BeforeElse: true
27  IndentBraces: false
28AllowShortIfStatementsOnASingleLine: true
29AllowShortLoopsOnASingleLine: true
30AllowShortCaseLabelsOnASingleLine: true
Note: See TracBrowser for help on using the repository browser.