Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d8d744

Browse files
committed
Added .clang-format for source code formatting.
1 parent8f5ea83 commit5d8d744

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

‎.clang-format‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# BasedOnStyle: Google
2+
AccessModifierOffset:-1
3+
ConstructorInitializerIndentWidth:4
4+
AlignEscapedNewlinesLeft:true
5+
AlignTrailingComments:true
6+
AllowAllParametersOfDeclarationOnNextLine:true
7+
AllowShortIfStatementsOnASingleLine:true
8+
AllowShortLoopsOnASingleLine:true
9+
AlwaysBreakTemplateDeclarations:true
10+
AlwaysBreakBeforeMultilineStrings:true
11+
BreakBeforeBinaryOperators:false
12+
BreakConstructorInitializersBeforeComma:false
13+
BinPackParameters:true
14+
ColumnLimit:80
15+
ConstructorInitializerAllOnOneLineOrOnePerLine:true
16+
DerivePointerBinding:true
17+
ExperimentalAutoDetectBinPacking:false
18+
IndentCaseLabels:true
19+
MaxEmptyLinesToKeep:1
20+
NamespaceIndentation:All
21+
ObjCSpaceBeforeProtocolList:false
22+
PenaltyBreakComment:60
23+
PenaltyBreakString:1000
24+
PenaltyBreakFirstLessLess:120
25+
PenaltyExcessCharacter:1000000
26+
PenaltyReturnTypeOnItsOwnLine:200
27+
PointerBindsToType:true
28+
SpacesBeforeTrailingComments:2
29+
Cpp11BracedListStyle:true
30+
Standard:Auto
31+
IndentWidth:2
32+
TabWidth:8
33+
UseTab:false
34+
BreakBeforeBraces:Attach
35+
IndentFunctionDeclarationAfterType:true
36+
SpacesInParentheses:false
37+
SpaceInEmptyParentheses:false
38+
SpacesInCStyleCastParentheses:false
39+
SpaceAfterControlStatementKeyword:true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp