-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.clang-format
More file actions
31 lines (29 loc) · 822 Bytes
/
.clang-format
File metadata and controls
31 lines (29 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This .clang-format replicates the style shown in GBoundedBufferT.hpp
Language: Cpp
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Never
AccessModifierOffset: -4
BreakBeforeBraces: BS_Attach
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: false
AfterNamespace: true
AfterStruct: true
AfterUnion: true
IndentBraces: false
AlwaysBreakAfterDefinitionReturnType: All
AlwaysBreakAfterDeclarationReturnType: All
BinPackParameters: false
AlignAfterOpenBracket: BlockIndent
SpaceBeforeParensControlStatements: Always
SpaceBeforeParensFunctionDecl: false
SpaceBeforeParensFunctionCall: false
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortBlocksOnASingleLine: false
ColumnLimit: 120
AlignTrailingComments: true