Skip to content

Commit

Permalink
refactor: Amend codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Oct 30, 2023
1 parent 4d2ddfa commit fb8c75b
Show file tree
Hide file tree
Showing 15 changed files with 9,987 additions and 11,214 deletions.
32 changes: 13 additions & 19 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
BasedOnStyle: Chromium
Language: Cpp
MaxEmptyLinesToKeep: 3
IndentCaseLabels: false
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
DerivePointerAlignment: false
PointerAlignment: Right
SpaceAfterCStyleCast: true
TabWidth: 4
UseTab: Never
IndentWidth: 4
BreakBeforeBraces: Linux
AccessModifierOffset: -4
ForEachMacros:
- SET_FOREACH
- RB_FOREACH
AlignEscapedNewlines: Left
ColumnLimit: 80
BraceWrapping:
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterUnion: true
AfterExternBlock: true
SplitEmptyFunction: false
SplitEmptyRecord: false

3 changes: 2 additions & 1 deletion .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: actions/checkout@v3.2.0
- name: style check
run: |
sudo apt-get install -q -y clang-format-15
sudo apt-get install -q -y clang-format
clang-format --version
sh scripts/check-format.sh
shell: bash
Loading

0 comments on commit fb8c75b

Please sign in to comment.