Skip to content

Commit e112f1b

Browse files
committed
Initial commit
Signed-off-by: AeroStun <[email protected]>
0 parents  commit e112f1b

File tree

7 files changed

+1276
-0
lines changed

7 files changed

+1276
-0
lines changed

.clang-format

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
# We'll use defaults from the LLVM style, but with 4 columns indentation.
3+
BasedOnStyle: LLVM
4+
IndentWidth: 4
5+
---
6+
Language: Cpp
7+
# Force pointers to the type for C++.
8+
DerivePointerAlignment: false
9+
PointerAlignment: Left
10+
ColumnLimit: 120
11+
IndentPPDirectives: AfterHash
12+
BreakBeforeBraces: Custom
13+
AlwaysBreakTemplateDeclarations: Yes
14+
BraceWrapping:
15+
AfterCaseLabel: false
16+
AfterClass: false
17+
AfterControlStatement: Never
18+
AfterEnum: false
19+
AfterExternBlock: false
20+
AfterStruct: false
21+
AfterNamespace: false
22+
AfterUnion: false
23+
BeforeCatch: false
24+
BeforeElse: false
25+
BeforeLambdaBody: false
26+
BeforeWhile: false
27+
IndentBraces: false
28+
SplitEmptyFunction: false
29+
SplitEmptyRecord: false
30+
SplitEmptyNamespace: false
31+
AllowShortEnumsOnASingleLine: false
32+
IncludeCategories:
33+
- Regex: '<[[:alnum:]_]+>'
34+
Priority: -6
35+
- Regex: '<[[:alnum:]._\/]+>'
36+
Priority: -5
37+
- Regex: '<[[:alnum:]._]+>'
38+
Priority: -4
39+
- Regex: '<[[:alnum:].\/]+>'
40+
Priority: -3
41+
- Regex: '"[[:alnum:]._]+"'
42+
Priority: -1
43+
- Regex: '.*'
44+
Priority: -2
45+
...
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Clang-Format Check
2+
on: [push, pull_request]
3+
jobs:
4+
formatting-check:
5+
name: Formatting Check
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: jidicula/[email protected]
10+
with:
11+
clang-format-version: '11'

0 commit comments

Comments
 (0)