Skip to content

Commit 75a17f2

Browse files
committed
Resolve Format Issuse
1 parent af27abf commit 75a17f2

24 files changed

+397
-484
lines changed

.clang-format

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
AccessModifierOffset: -4
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: true
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: All
15+
AllowShortIfStatementsOnASingleLine: true
16+
AllowShortLoopsOnASingleLine: true
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
BeforeCatch: false
33+
BeforeElse: false
34+
IndentBraces: false
35+
BreakBeforeBinaryOperators: None
36+
BreakBeforeBraces: Attach
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: false
39+
ColumnLimit: 80
40+
CommentPragmas: '^ IWYU pragma:'
41+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
42+
ConstructorInitializerIndentWidth: 4
43+
ContinuationIndentWidth: 4
44+
Cpp11BracedListStyle: true
45+
DerivePointerAlignment: false
46+
DisableFormat: false
47+
ExperimentalAutoDetectBinPacking: false
48+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
49+
IncludeCategories:
50+
- Regex: '^<.*\.h>'
51+
Priority: 1
52+
- Regex: '^<.*'
53+
Priority: 2
54+
- Regex: '.*'
55+
Priority: 3
56+
IndentCaseLabels: true
57+
IndentWidth: 4
58+
IndentWrappedFunctionNames: false
59+
KeepEmptyLinesAtTheStartOfBlocks: false
60+
MacroBlockBegin: ''
61+
MacroBlockEnd: ''
62+
MaxEmptyLinesToKeep: 1
63+
NamespaceIndentation: None
64+
ObjCBlockIndentWidth: 2
65+
ObjCSpaceAfterProperty: false
66+
ObjCSpaceBeforeProtocolList: false
67+
PenaltyBreakBeforeFirstCallParameter: 1
68+
PenaltyBreakComment: 300
69+
PenaltyBreakFirstLessLess: 120
70+
PenaltyBreakString: 1000
71+
PenaltyExcessCharacter: 1000000
72+
PenaltyReturnTypeOnItsOwnLine: 200
73+
PointerAlignment: Left
74+
ReflowComments: true
75+
SortIncludes: false
76+
SpaceAfterCStyleCast: false
77+
SpaceBeforeAssignmentOperators: true
78+
SpaceBeforeParens: ControlStatements
79+
SpaceInEmptyParentheses: false
80+
SpacesBeforeTrailingComments: 2
81+
SpacesInAngles: false
82+
SpacesInContainerLiterals: true
83+
SpacesInCStyleCastParentheses: false
84+
SpacesInParentheses: false
85+
SpacesInSquareBrackets: false
86+
Standard: Auto
87+
TabWidth: 8
88+
UseTab: Never
89+
...

.styleguide

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
cHeaderFileInclude {
2+
\.h$
3+
}
4+
5+
cppHeaderFileInclude {
6+
\.hpp$
7+
\.inl$
8+
}
9+
10+
cppSrcFileInclude {
11+
\.cpp$
12+
}

.styleguide-license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Copyright (c) FRC Team 3512, Spartatroniks {year}. All Rights Reserved.

Collapse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ for (var i = 0; i < coll.length; i++) {
1010
content.style.display = "block";
1111
}
1212
});
13-
}
13+
}

archives/angelscript/docs/annotated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ var annotated =
44
[ "PackageSection", "class_package_section.html", "class_package_section" ],
55
[ "ScriptPackage", "class_script_package.html", "class_script_package" ],
66
[ "ScriptRoutine", "class_script_routine.html", "class_script_routine" ]
7-
];
7+
];

archives/angelscript/docs/class_global_property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ var class_global_property =
99
[ "registerProperty", "class_global_property.html#abdc021f6456c9fd34694e5703a8c0298", null ],
1010
[ "release", "class_global_property.html#a5e0b1a29e5c28f53fec07e4965c0c851", null ],
1111
[ "setup", "class_global_property.html#a67238025ea72bf48f842d5711e8cc17b", null ]
12-
];
12+
];

archives/angelscript/docs/class_package_section.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ var class_package_section =
1010
[ "setFile", "class_package_section.html#a622a37ab11b10a98553705b348c62f6d", null ],
1111
[ "setName", "class_package_section.html#aeb500f11d044c30306265dae5eece80a", null ],
1212
[ "setup", "class_package_section.html#a283f4d3ba5c321e80a54e35b7481fbde", null ]
13-
];
13+
];

archives/angelscript/docs/class_script_package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ var class_script_package =
4141
[ "remSection", "class_script_package.html#a372c0bb367d63dad09ef4df285f7353a", null ],
4242
[ "unload", "class_script_package.html#a0d3fe8a41c0608f5f3e4c3fc62cc325d", null ],
4343
[ "write", "class_script_package.html#aeddbe9793f13b96ca25c731d8873f9dc", null ]
44-
];
44+
];

archives/angelscript/docs/class_script_routine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ var class_script_routine =
2929
[ "setScripts", "class_script_routine.html#a77dcde660dad5078dd6e89a062a5b12f", null ],
3030
[ "setType", "class_script_routine.html#a4ce462a5085a07dc1d053c2ba6daf9cd", null ],
3131
[ "setup", "class_script_routine.html#a220d1be32194aadc4c4510efe402665e", null ]
32-
];
32+
];

archives/angelscript/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba =
44
[ "PackageSection.h", "_package_section_8h_source.html", null ],
55
[ "ScriptPackage.h", "_script_package_8h_source.html", null ],
66
[ "ScriptRoutine.h", "_script_routine_8h_source.html", null ]
7-
];
7+
];

0 commit comments

Comments
 (0)