Fork me on GitHub

source: git/.clang-format

Last change on this file was 77e9ae1, checked in by Pavel Demin <pavel-demin@…>, 18 months ago

set Standard to Cpp03 in .clang-format

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