-
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.
Update the repo for 2022, add a number of tests, fix clang-tidy issues and add a move to the DelayedObjects objects. Update formatting, and add precommit
- Loading branch information
Showing
79 changed files
with
5,697 additions
and
4,317 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 |
---|---|---|
|
@@ -17,4 +17,3 @@ build_script: | |
test_script: | ||
- cd build | ||
- ps: ctest --output-on-failure -C Debug | ||
|
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,11 @@ | ||
steps: | ||
- task: CMake@1 | ||
inputs: | ||
cmakeArgs: .. -DCMAKE_CXX_STANDARD=$(concurrency.std) -DCMAKE_BUILD_TYPE=$(concurrency.build_type) $(concurrency.options) | ||
displayName: "Configure" | ||
env: | ||
GIT_SSL_NO_VERIFY: 1 | ||
|
||
- script: cmake --build . | ||
displayName: "Build" | ||
workingDirectory: build |
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,15 @@ | ||
steps: | ||
# Note that silkeh/clang does not include ca-certificates, so check the shasum for verification | ||
- bash: | | ||
wget --no-check-certificate "https://cmake.org/files/v3.14/cmake-3.14.3-Linux-x86_64.tar.gz" | ||
echo "29faa62fb3a0b6323caa3d9557e1a5f1205614c0d4c5c2a9917f16a74f7eff68 cmake-3.14.3-Linux-x86_64.tar.gz" | shasum -sca 256 | ||
displayName: Download CMake | ||
- task: ExtractFiles@1 | ||
inputs: | ||
archiveFilePatterns: "cmake*.tar.gz" | ||
destinationFolder: "cmake_program" | ||
displayName: Extract CMake | ||
|
||
- bash: echo "##vso[task.prependpath]$(Build.SourcesDirectory)/cmake_program/cmake-3.14.3-Linux-x86_64/bin" | ||
displayName: Add CMake to PATH |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
steps: | ||
- script: ctest --output-on-failure -C $(concurrency.build_type) -T test | ||
displayName: "Test" | ||
workingDirectory: build | ||
|
||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFormat: "cTest" | ||
testResultsFiles: "**/Test.xml" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,3 @@ export PATH="${DEPS_DIR}/doxygen/build/bin:${PATH}" | |
cd "${TRAVIS_BUILD_DIR}" | ||
|
||
set +evx | ||
|
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,4 +1,16 @@ | ||
set(CMAKE_C_FLAGS "-fsanitize=thread,undefined -g -O1 -stdlib=libc++" CACHE STRING "Flags used by the compiler during all build types.") | ||
set(CMAKE_CXX_FLAGS "-fsanitize=thread,undefined -g -O1 -stdlib=libc++" CACHE STRING "Flags used by the compiler during all build types.") | ||
set(CMAKE_EXE_LINKER_FLAGS "-fsanitize=thread,undefined -stdlib=libc++" CACHE STRING "Flags used by the linker during all build types.") | ||
set(CMAKE_MODULE_LINKER_FLAGS "-fsanitize=thread,undefined -stdlib=libc++" CACHE STRING "Flags used by the linker during all build types.") | ||
set(CMAKE_C_FLAGS | ||
"-fsanitize=thread,undefined -g -O1 -stdlib=libc++" | ||
CACHE STRING "Flags used by the compiler during all build types." | ||
) | ||
set(CMAKE_CXX_FLAGS | ||
"-fsanitize=thread,undefined -g -O1 -stdlib=libc++" | ||
CACHE STRING "Flags used by the compiler during all build types." | ||
) | ||
set(CMAKE_EXE_LINKER_FLAGS | ||
"-fsanitize=thread,undefined -stdlib=libc++" | ||
CACHE STRING "Flags used by the linker during all build types." | ||
) | ||
set(CMAKE_MODULE_LINKER_FLAGS | ||
"-fsanitize=thread,undefined -stdlib=libc++" | ||
CACHE STRING "Flags used by the linker during all build types." | ||
) |
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,22 @@ | ||
# Lines starting with # are ignored. | ||
# Turn off checks for the source file (use absolute path or path relative | ||
# to the current working directory): | ||
src:*functional.cpp | ||
# Turn off checks for a particular functions (use mangled names): | ||
#fun:MyFooBar | ||
#fun:_Z8MyFooBarv | ||
# Extended regular expressions are supported: | ||
#fun:bad_(foo|bar) | ||
#src:bad_source[1-9].c | ||
# Shell like usage of * is supported (* is treated as .*): | ||
#src:bad/sources/* | ||
#fun:*BadFunction* | ||
# Specific sanitizer tools may introduce categories. | ||
#src:/special/path/*=special_sources | ||
# Sections can be used to limit ignorelist entries to specific sanitizers | ||
#[address] | ||
#fun:*BadASanFunc* | ||
# Section names are regular expressions | ||
#[cfi-vcall|cfi-icall] | ||
#fun:*BadCfiCall | ||
# Entries without sections are placed into [*] and apply to all sanitizers |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This is a known purposeful leak and possible resulting race condition detection on closing of shared libraries | ||
|
||
# potential race condition from | ||
race:cxa_at_exit_wrapper |
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,82 +1,80 @@ | ||
--- | ||
AccessModifierOffset: '-2' | ||
--- | ||
AccessModifierOffset: "-2" | ||
AlignAfterOpenBracket: AlwaysBreak | ||
AlignConsecutiveAssignments: 'false' | ||
AlignConsecutiveDeclarations: 'false' | ||
AlignConsecutiveAssignments: "false" | ||
AlignConsecutiveDeclarations: "false" | ||
#AlignConsecutiveMacros: 'true' | ||
AlignEscapedNewlines: Right | ||
AlignOperands: 'false' | ||
AlignTrailingComments: 'false' | ||
AlignOperands: "false" | ||
AlignTrailingComments: "false" | ||
#AllowAllArgumentsOnNextLine: 'false' | ||
#AllowAllConstructorInitializersOnNextLine: 'false' | ||
AllowAllParametersOfDeclarationOnNextLine: 'false' | ||
AllowShortBlocksOnASingleLine: 'false' | ||
AllowShortCaseLabelsOnASingleLine: 'false' | ||
AllowAllParametersOfDeclarationOnNextLine: "false" | ||
AllowShortBlocksOnASingleLine: "false" | ||
AllowShortCaseLabelsOnASingleLine: "false" | ||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortIfStatementsOnASingleLine: 'true' | ||
AllowShortIfStatementsOnASingleLine: "true" | ||
#AllowShortLambdasOnASingleLine: 'Inline' | ||
AllowShortLoopsOnASingleLine: 'false' | ||
AllowShortLoopsOnASingleLine: "false" | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: 'false' | ||
AlwaysBreakTemplateDeclarations: 'true' | ||
BinPackArguments: 'false' | ||
BinPackParameters: 'false' | ||
AlwaysBreakBeforeMultilineStrings: "false" | ||
AlwaysBreakTemplateDeclarations: "true" | ||
BinPackArguments: "false" | ||
BinPackParameters: "false" | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterFunction: true | ||
BeforeCatch: true | ||
BreakBeforeTernaryOperators: 'false' | ||
BreakBeforeTernaryOperators: "false" | ||
BreakConstructorInitializers: AfterColon | ||
BreakInheritanceList: AfterColon | ||
BreakStringLiterals: 'false' | ||
ColumnLimit: 100 | ||
CompactNamespaces: 'false' | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false' | ||
ConstructorInitializerIndentWidth: '4' | ||
ContinuationIndentWidth: '4' | ||
Cpp11BracedListStyle: 'true' | ||
DerivePointerAlignment: 'false' | ||
DisableFormat: 'false' | ||
FixNamespaceComments: 'true' | ||
IncludeBlocks: Regroup | ||
IndentCaseLabels: 'true' | ||
IndentPPDirectives: AfterHash | ||
IndentWidth: '4' | ||
IndentWrappedFunctionNames: 'true' | ||
#BreakInheritanceList: AfterColon | ||
BreakStringLiterals: "false" | ||
ColumnLimit: 80 | ||
CompactNamespaces: "false" | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: "false" | ||
ConstructorInitializerIndentWidth: "4" | ||
ContinuationIndentWidth: "4" | ||
Cpp11BracedListStyle: "true" | ||
DerivePointerAlignment: "false" | ||
DisableFormat: "false" | ||
FixNamespaceComments: "true" | ||
#IncludeBlocks: Regroup | ||
IndentCaseLabels: "true" | ||
IndentWidth: "4" | ||
IndentWrappedFunctionNames: "true" | ||
JavaScriptQuotes: Double | ||
KeepEmptyLinesAtTheStartOfBlocks: 'false' | ||
KeepEmptyLinesAtTheStartOfBlocks: "false" | ||
Language: Cpp | ||
MaxEmptyLinesToKeep: '1' | ||
MaxEmptyLinesToKeep: "1" | ||
NamespaceIndentation: Inner | ||
ObjCSpaceAfterProperty: 'true' | ||
ObjCSpaceBeforeProtocolList: 'true' | ||
PenaltyBreakBeforeFirstCallParameter: '120' | ||
PenaltyBreakComment: '300' | ||
PenaltyBreakFirstLessLess: '30' | ||
PenaltyBreakString: '1000' | ||
PenaltyExcessCharacter: '1000000' | ||
PenaltyReturnTypeOnItsOwnLine: '40' | ||
ObjCSpaceAfterProperty: "true" | ||
ObjCSpaceBeforeProtocolList: "true" | ||
PenaltyBreakBeforeFirstCallParameter: "90" | ||
PenaltyBreakComment: "100" | ||
PenaltyBreakFirstLessLess: "30" | ||
PenaltyBreakString: "1000" | ||
PenaltyExcessCharacter: "1000000" | ||
PenaltyReturnTypeOnItsOwnLine: "40" | ||
PointerAlignment: Left | ||
ReflowComments: 'false' | ||
SortIncludes: 'true' | ||
SortUsingDeclarations: 'true' | ||
SpaceAfterCStyleCast: 'false' | ||
ReflowComments: "true" | ||
SortIncludes: "true" | ||
SortUsingDeclarations: "true" | ||
SpaceAfterCStyleCast: "false" | ||
#SpaceAfterLogicalNot: 'false' | ||
SpaceAfterTemplateKeyword: 'false' | ||
SpaceBeforeAssignmentOperators: 'true' | ||
SpaceBeforeCpp11BracedList: 'false' | ||
SpaceBeforeCtorInitializerColon: 'false' | ||
SpaceBeforeInheritanceColon: 'false' | ||
SpaceAfterTemplateKeyword: "false" | ||
SpaceBeforeAssignmentOperators: "true" | ||
#SpaceBeforeCpp11BracedList: 'false' | ||
#SpaceBeforeCtorInitializerColon: 'false' | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: 'true' | ||
SpaceInEmptyParentheses: 'false' | ||
SpacesBeforeTrailingComments: '1' | ||
SpacesInAngles: 'false' | ||
SpacesInCStyleCastParentheses: 'false' | ||
SpacesInContainerLiterals: 'false' | ||
SpacesInParentheses: 'false' | ||
SpacesInSquareBrackets: 'false' | ||
#SpaceBeforeRangeBasedForLoopColon: 'true' | ||
SpaceInEmptyParentheses: "false" | ||
SpacesBeforeTrailingComments: "2" | ||
SpacesInAngles: "false" | ||
SpacesInCStyleCastParentheses: "false" | ||
SpacesInContainerLiterals: "false" | ||
SpacesInParentheses: "false" | ||
SpacesInSquareBrackets: "false" | ||
Standard: Cpp11 | ||
TabWidth: '4' | ||
TabWidth: "4" | ||
UseTab: Never |
Oops, something went wrong.