~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to .clang-format

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-02-04 14:49:07 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20140204144907-o3ruhix0ey26lchl
Tags: upstream-0.1.4+14.04.20140204
ImportĀ upstreamĀ versionĀ 0.1.4+14.04.20140204

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Language:        Cpp
 
2
AccessModifierOffset: -4
 
3
ConstructorInitializerIndentWidth: 4
 
4
AlignEscapedNewlinesLeft: true
 
5
AlignTrailingComments: true
 
6
AllowAllParametersOfDeclarationOnNextLine: true
 
7
AllowShortIfStatementsOnASingleLine: false
 
8
AllowShortLoopsOnASingleLine: false
 
9
AllowShortFunctionsOnASingleLine: false
 
10
AlwaysBreakTemplateDeclarations: true
 
11
AlwaysBreakBeforeMultilineStrings: false
 
12
BreakBeforeBinaryOperators: false
 
13
BreakBeforeTernaryOperators: false
 
14
BreakConstructorInitializersBeforeComma: false
 
15
BinPackParameters: true
 
16
ColumnLimit:     120
 
17
ConstructorInitializerAllOnOneLineOrOnePerLine: false
 
18
DerivePointerBinding: true
 
19
ExperimentalAutoDetectBinPacking: true
 
20
IndentCaseLabels: false
 
21
MaxEmptyLinesToKeep: 1
 
22
NamespaceIndentation: None
 
23
ObjCSpaceBeforeProtocolList: false
 
24
PenaltyBreakBeforeFirstCallParameter: 1
 
25
PenaltyBreakComment: 300
 
26
PenaltyBreakString: 1000
 
27
PenaltyBreakFirstLessLess: 120
 
28
PenaltyExcessCharacter: 1000000
 
29
PenaltyReturnTypeOnItsOwnLine: 200
 
30
PointerBindsToType: true
 
31
SpacesBeforeTrailingComments: 2
 
32
Cpp11BracedListStyle: true
 
33
Standard:        Cpp11
 
34
IndentWidth:     4
 
35
TabWidth:        8
 
36
UseTab:          Never
 
37
BreakBeforeBraces: Allman
 
38
IndentFunctionDeclarationAfterType: true
 
39
SpacesInParentheses: false
 
40
SpacesInAngles:  false
 
41
SpaceInEmptyParentheses: false
 
42
SpacesInCStyleCastParentheses: false
 
43
SpaceBeforeAssignmentOperators: true
 
44
ContinuationIndentWidth: 4
 
45
SpaceBeforeParens: ControlStatements
 
46