-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project: Resume work on engine, lots of changes
Back on the grind, lots was changed to work with latest C++20 modules improvements and C++23 features. Developing this was done on clang-18 + libc++, GCC isn't there just yet and libc++ provided better support for fancy things. - Thread class was mostly rewritten to be simpler, mutex-less and to be consistent. - Migrated from vcpkg to CPM, vcpkg was causing way too many issues and CPM is essentially a wrapper around FetchContent which I like. - ThreadPool was removed completely, once C++'s <execution> becomes more widely available, I feel we can make Thread class do it all. - Logging now uses <print>, neat little thing!
- Loading branch information
1 parent
5211f68
commit bebdbc5
Showing
24 changed files
with
1,704 additions
and
713 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,65 +1,21 @@ | ||
Language: Cpp | ||
BasedOnStyle: LLVM | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: None | ||
AlignOperands: Align | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Empty | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLambdasOnASingleLine: Empty | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: false | ||
AfterClass: false | ||
AfterControlStatement: Never | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterUnion: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: true | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeColon | ||
BreakInheritanceList: BeforeColon | ||
# Give us some space | ||
ColumnLimit: 100 | ||
CompactNamespaces: false | ||
ContinuationIndentWidth: 8 | ||
IndentCaseLabels: true | ||
IndentPPDirectives: AfterHash | ||
# Don't change our includes (order matters!) | ||
SortIncludes: Never | ||
# Tabs please! - With 4-space width | ||
UseTab: Always | ||
TabWidth: 4 | ||
IndentWidth: 4 | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MaxEmptyLinesToKeep: 2 | ||
AccessModifierOffset: -4 | ||
# Indents in namespaces | ||
NamespaceIndentation: All | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: true | ||
PointerAlignment: Right | ||
ReflowComments: true | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: true | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInContainerLiterals: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
TabWidth: 4 | ||
UseTab: Always | ||
PackConstructorInitializers: BinPack | ||
# Newline after template | ||
AlwaysBreakTemplateDeclarations: Yes | ||
# Don't indent "requires" lines | ||
IndentRequiresClause: false | ||
# Allow single while loops without braces | ||
AllowShortLoopsOnASingleLine: true | ||
AllowShortBlocksOnASingleLine: Empty | ||
AllowShortIfStatementsOnASingleLine: WithoutElse |
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,15 +1,8 @@ | ||
Checks: '-*, | ||
bugprone-*, | ||
cppcoreguidelines-* | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-prefer-member-initializer, | ||
modernize-*, | ||
mpi-*, | ||
portability-*, | ||
performance-*, | ||
readability-*, | ||
-readability-identifier-length, | ||
misc-*, | ||
-readability-magic-numbers, | ||
-readability-braces-around-statements' | ||
performance-*' | ||
|
||
WarningsAsErrors: '*' |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.