-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into avoid-ub-on-course-segment
- Loading branch information
Showing
449 changed files
with
199,606 additions
and
217,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
IndentWidth: 4 | ||
Language: Cpp | ||
AlignAfterOpenBracket: Align | ||
SortIncludes: false | ||
ColumnLimit: 104 | ||
PointerAlignment: Right | ||
AllowShortFunctionsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
SpaceAfterCStyleCast: true | ||
UseTab: Never | ||
ColumnLimit: 120 | ||
PointerAlignment: Left | ||
BreakBeforeBraces: Attach | ||
BreakBeforeTernaryOperators: true | ||
BreakBeforeBinaryOperators: NonAssignment | ||
SpaceAfterCStyleCast: true | ||
Cpp11BracedListStyle: false | ||
IndentCaseLabels: true | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
AlignAfterOpenBracket: Align | ||
AlignOperands: true | ||
BreakBeforeTernaryOperators: true | ||
BreakBeforeBinaryOperators: None | ||
AllowShortBlocksOnASingleLine: true | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: false | ||
AlignEscapedNewlines: Left | ||
AlignTrailingComments: true | ||
UseTab: Never | ||
SortIncludes: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
--- | ||
Checks: '-*,readability-braces-around-statements' | ||
Checks: '-*,readability-braces-around-statements,readability-inconsistent-declaration-parameter-name' | ||
WarningsAsErrors: '' | ||
HeaderFilterRegex: '(src|include|enhancements)\/.*\.h$' | ||
HeaderFilterRegex: '(src|include)\/.*\.h$' | ||
FormatStyle: 'file' | ||
CheckOptions: | ||
# Require argument names to match exactly (instead of allowing a name to be a prefix/suffix of another) | ||
# Note: 'true' is expected by clang-tidy 12+ but '1' is used for compatibility with older versions | ||
- key: readability-inconsistent-declaration-parameter-name.Strict | ||
value: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: clang-format Check | ||
on: [push, pull_request] | ||
jobs: | ||
formatting-check: | ||
name: Formatting Check | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
path: | ||
- include | ||
- data | ||
- courses | ||
- src | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run clang-format style check for C/C++/Protobuf programs. | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: "18" | ||
check-path: ${{ matrix.path }} | ||
exclude-regex: "gbi.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.