Skip to content

Commit eb5046c

Browse files
authored
Merge pull request #109 from DARMA-tasking/105-implement-vt-style-guidelines
#105: Implement vt's style guidelines
2 parents bb91fb3 + 45b8ae6 commit eb5046c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1356
-1023
lines changed

.clang-format

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
Language: Cpp
2+
ColumnLimit: 80
3+
UseTab: Never
4+
5+
AccessModifierOffset: -2
6+
AlignAfterOpenBracket: AlwaysBreak
7+
AlignConsecutiveAssignments: None
8+
AlignConsecutiveDeclarations: None
9+
AlignConsecutiveMacros: None
10+
AlignEscapedNewlines: Left
11+
AlignOperands: false
12+
AlignTrailingComments: true
13+
AllowAllArgumentsOnNextLine: true
14+
AllowAllConstructorInitializersOnNextLine: false
15+
AllowAllParametersOfDeclarationOnNextLine: true
16+
AllowShortBlocksOnASingleLine: Empty
17+
AllowShortCaseLabelsOnASingleLine: false
18+
AllowShortFunctionsOnASingleLine: Inline
19+
AllowShortIfStatementsOnASingleLine: Never
20+
AllowShortLambdasOnASingleLine: All
21+
AllowShortLoopsOnASingleLine: false
22+
AlwaysBreakAfterDefinitionReturnType: None
23+
AlwaysBreakAfterReturnType: None
24+
AlwaysBreakBeforeMultilineStrings: false
25+
AlwaysBreakTemplateDeclarations: Yes
26+
BinPackArguments: false
27+
BinPackParameters: false
28+
BreakBeforeBraces: Custom
29+
BraceWrapping:
30+
AfterCaseLabel: false
31+
AfterClass: false
32+
AfterControlStatement: Never
33+
AfterEnum: false
34+
AfterFunction: false
35+
AfterNamespace: false
36+
AfterStruct: false
37+
AfterUnion: false
38+
AfterExternBlock: false
39+
BeforeCatch: false
40+
BeforeElse: false
41+
IndentBraces: false
42+
SplitEmptyFunction: false
43+
SplitEmptyRecord: false
44+
SplitEmptyNamespace: false
45+
BreakBeforeBinaryOperators: None
46+
BreakBeforeTernaryOperators: false
47+
BreakConstructorInitializers: BeforeColon
48+
BreakInheritanceList: BeforeColon
49+
BreakStringLiterals: true
50+
CompactNamespaces: true
51+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
52+
ConstructorInitializerIndentWidth: 2
53+
ContinuationIndentWidth: 2
54+
Cpp11BracedListStyle: true
55+
DeriveLineEnding: false
56+
DerivePointerAlignment: false
57+
DisableFormat: false
58+
ExperimentalAutoDetectBinPacking: false
59+
FixNamespaceComments: true
60+
IncludeBlocks: Preserve
61+
IndentCaseLabels: false
62+
IndentGotoLabels: false
63+
IndentPPDirectives: None
64+
IndentWidth: 2
65+
IndentWrappedFunctionNames: false
66+
KeepEmptyLinesAtTheStartOfBlocks: false
67+
MaxEmptyLinesToKeep: 1
68+
NamespaceIndentation: None
69+
PenaltyReturnTypeOnItsOwnLine: 100
70+
PointerAlignment: Left
71+
ReflowComments: false
72+
SortIncludes: Never
73+
SortUsingDeclarations: false
74+
SpaceAfterCStyleCast: false
75+
SpaceAfterLogicalNot: false
76+
SpaceAfterTemplateKeyword: true
77+
SpaceBeforeAssignmentOperators: true
78+
SpaceBeforeCpp11BracedList: false
79+
SpaceBeforeCtorInitializerColon: true
80+
SpaceBeforeInheritanceColon: true
81+
SpaceBeforeParens: ControlStatements
82+
SpaceBeforeRangeBasedForLoopColon: true
83+
SpaceBeforeSquareBrackets: false
84+
SpaceInEmptyBlock: true
85+
SpaceInEmptyParentheses: false
86+
SpacesInAngles: false
87+
SpacesInCStyleCastParentheses: false
88+
SpacesInConditionalStatement: false
89+
SpacesInContainerLiterals: false
90+
SpacesInParentheses: false
91+
SpacesInSquareBrackets: false
92+
Standard: c++17

0 commit comments

Comments
 (0)