-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5228 from correaa/correaa-patch-use-adl-get
[Multi] make changes to rely on ADL get instead of std::get
- Loading branch information
Showing
255 changed files
with
25,309 additions
and
18,613 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,3 +1,3 @@ | ||
command to update subtree to v0.80.1 tag. Run from top level QMCPACK source directory | ||
|
||
git subtree pull --squash -P external_codes/boost_multi/multi https://gitlab.com/correaa/boost-multi.git v0.80.1 | ||
git subtree pull --squash -P external_codes/boost_multi/multi https://gitlab.com/correaa/boost-multi.git v0.86.0 |
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,230 +1,64 @@ | ||
# https://clang-format-configurator.site | ||
# Copyright 2020-2024 Alfredo A. Correa | ||
--- | ||
Language: Cpp | ||
# BasedOnStyle: Google | ||
#AccessModifierOffset: -1 | ||
AlignAfterOpenBracket: BlockIndent # Align | ||
Language: Cpp | ||
AccessModifierOffset: -3 | ||
AlignAfterOpenBracket: BlockIndent | ||
AlignArrayOfStructures: Right | ||
#AlignConsecutiveMacros: None | ||
AlignConsecutiveAssignments: Consecutive # None | ||
#AlignConsecutiveBitFields: None | ||
AlignConsecutiveDeclarations: Consecutive | ||
#AlignEscapedNewlines: Left | ||
AlignOperands: AlignAfterOperator | ||
AlignTrailingComments: false | ||
#AllowAllArgumentsOnNextLine: true | ||
#AllowAllParametersOfDeclarationOnNextLine: true | ||
#AllowShortEnumsOnASingleLine: true | ||
#AllowShortBlocksOnASingleLine: Never | ||
AllowShortCaseLabelsOnASingleLine: true # false | ||
#AllowShortFunctionsOnASingleLine: All | ||
#AllowShortLambdasOnASingleLine: All | ||
#AllowShortIfStatementsOnASingleLine: WithoutElse | ||
#AllowShortLoopsOnASingleLine: true | ||
#AlwaysBreakAfterDefinitionReturnType: None | ||
#AlwaysBreakAfterReturnType: None | ||
#AlwaysBreakBeforeMultilineStrings: true | ||
AlwaysBreakTemplateDeclarations: No # Yes | ||
#AttributeMacros: | ||
# - __capability | ||
#BinPackArguments: true | ||
#BinPackParameters: true | ||
#BraceWrapping: | ||
# AfterCaseLabel: false | ||
# AfterClass: false | ||
# AfterControlStatement: Never | ||
# AfterEnum: false | ||
# AfterFunction: false | ||
# AfterNamespace: false | ||
# AfterObjCDeclaration: false | ||
# AfterStruct: false | ||
# AfterUnion: false | ||
# AfterExternBlock: false | ||
# BeforeCatch: false | ||
# BeforeElse: false | ||
# BeforeLambdaBody: false | ||
# BeforeWhile: false | ||
# IndentBraces: false | ||
# SplitEmptyFunction: true | ||
# SplitEmptyRecord: true | ||
# SplitEmptyNamespace: true | ||
#BreakBeforeBinaryOperators: None | ||
#BreakBeforeConceptDeclarations: true | ||
#BreakBeforeBraces: Attach | ||
#BreakBeforeInheritanceComma: false | ||
AlignConsecutiveAssignments: | ||
Enabled: true | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignConsecutiveDeclarations: | ||
Enabled: true | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignOperands: AlignAfterOperator | ||
AllowAllArgumentsOnNextLine: false | ||
AllowShortLambdasOnASingleLine: Inline | ||
AllowShortCaseLabelsOnASingleLine: true | ||
AlwaysBreakTemplateDeclarations: No | ||
BreakInheritanceList: BeforeComma | ||
#BreakBeforeTernaryOperators: true | ||
#BreakConstructorInitializersBeforeComma: false | ||
#BreakConstructorInitializers: BeforeColon | ||
#BreakAfterJavaFieldAnnotations: false | ||
#BreakStringLiterals: true | ||
ColumnLimit: 0 | ||
#CommentPragmas: '^ IWYU pragma:' | ||
QualifierAlignment: Right # Leave | ||
#CompactNamespaces: false | ||
BraceWrapping: | ||
BeforeLambdaBody: false | ||
ColumnLimit: 0 | ||
QualifierAlignment: Right | ||
ConstructorInitializerIndentWidth: 0 | ||
ContinuationIndentWidth: 99 | ||
#Cpp11BracedListStyle: true | ||
#DeriveLineEnding: true | ||
#DerivePointerAlignment: true | ||
#DisableFormat: false | ||
#EmptyLineAfterAccessModifier: Never | ||
#EmptyLineBeforeAccessModifier: LogicalBlock | ||
#ExperimentalAutoDetectBinPacking: false | ||
#PackConstructorInitializers: NextLine | ||
#BasedOnStyle: '' | ||
#ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
#AllowAllConstructorInitializersOnNextLine: true | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: true | ||
FixNamespaceComments: true | ||
#ForEachMacros: | ||
# - foreach | ||
# - Q_FOREACH | ||
# - BOOST_FOREACH | ||
#IfMacros: | ||
# - KJ_IF_MAYBE | ||
#IncludeBlocks: Regroup | ||
#IncludeCategories: | ||
# - Regex: '^<ext/.*\.h>' | ||
# Priority: 2 | ||
# SortPriority: 0 | ||
# CaseSensitive: false | ||
# - Regex: '^<.*\.h>' | ||
# Priority: 1 | ||
# SortPriority: 0 | ||
# CaseSensitive: false | ||
# - Regex: '^<.*' | ||
# Priority: 2 | ||
# SortPriority: 0 | ||
# CaseSensitive: false | ||
# - Regex: '.*' | ||
# Priority: 3 | ||
# SortPriority: 0 | ||
# CaseSensitive: false | ||
#IncludeIsMainRegex: '([-_](test|unittest))?$' | ||
#IncludeIsMainSourceRegex: '' | ||
#IndentAccessModifiers: true # false | ||
AccessModifierOffset: -98 # 2 | ||
#IndentCaseLabels: true | ||
#IndentCaseBlocks: false | ||
#IndentGotoLabels: true | ||
#IndentPPDirectives: None | ||
#IndentExternBlock: AfterExternBlock | ||
#IndentRequires: false | ||
IndentWidth: 99 | ||
#IndentWrappedFunctionNames: false | ||
#InsertTrailingCommas: None | ||
#JavaScriptQuotes: Leave | ||
#JavaScriptWrapImports: true | ||
#KeepEmptyLinesAtTheStartOfBlocks: false | ||
#LambdaBodyIndentation: Signature | ||
#MacroBlockBegin: '' | ||
#MacroBlockEnd: '' | ||
#MaxEmptyLinesToKeep: 1 | ||
#NamespaceIndentation: None | ||
#ObjCBinPackProtocolList: Never | ||
#ObjCBlockIndentWidth: 2 | ||
#ObjCBreakBeforeNestedBlockParam: true | ||
#ObjCSpaceAfterProperty: false | ||
#ObjCSpaceBeforeProtocolList: true | ||
#PenaltyBreakAssignment: 2 | ||
#PenaltyBreakBeforeFirstCallParameter: 1 | ||
#PenaltyBreakComment: 300 | ||
#PenaltyBreakFirstLessLess: 120 | ||
#PenaltyBreakOpenParenthesis: 0 | ||
#PenaltyBreakString: 1000 | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
- Regex: <boost/test/unit_test\.hpp> | ||
Priority: 1 | ||
- Regex: <(boost\/multi)\/ | ||
Priority: 2 | ||
- Regex: <([A-Za-z0-9\Q/-_\E])+> | ||
Priority: 6 | ||
- Regex: <(catch2|boost)\/ | ||
Priority: 5 | ||
- Regex: <([A-Za-z0-9.\Q/-_\E])+> | ||
Priority: 4 | ||
- Regex: '"([A-Za-z0-9.\Q/-_\E])+"' | ||
Priority: 3 | ||
IndentPPDirectives: BeforeHash | ||
IndentWidth: 4 | ||
# LambdaBodyIndentation: Signature | ||
PenaltyBreakTemplateDeclaration: 10 | ||
#PenaltyExcessCharacter: 1000000 | ||
#PenaltyReturnTypeOnItsOwnLine: 200 | ||
#PenaltyIndentedWhitespace: 0 | ||
PointerAlignment: Left | ||
#PPIndentWidth: -1 | ||
#RawStringFormats: | ||
# - Language: Cpp | ||
# Delimiters: | ||
# - cc | ||
# - CC | ||
# - cpp | ||
# - Cpp | ||
# - CPP | ||
# - 'c++' | ||
# - 'C++' | ||
# CanonicalDelimiter: '' | ||
# BasedOnStyle: google | ||
# - Language: TextProto | ||
# Delimiters: | ||
# - pb | ||
# - PB | ||
# - proto | ||
# - PROTO | ||
# EnclosingFunctions: | ||
# - EqualsProto | ||
# - EquivToProto | ||
# - PARSE_PARTIAL_TEXT_PROTO | ||
# - PARSE_TEST_PROTO | ||
# - PARSE_TEXT_PROTO | ||
# - ParseTextOrDie | ||
# - ParseTextProtoOrDie | ||
# - ParseTestProto | ||
# - ParsePartialTestProto | ||
# CanonicalDelimiter: pb | ||
# BasedOnStyle: google | ||
#ReferenceAlignment: Pointer | ||
#ReflowComments: true | ||
#RemoveBracesLLVM: false | ||
#SeparateDefinitionBlocks: Leave | ||
#ShortNamespaceLines: 1 | ||
#SortIncludes: CaseSensitive | ||
#SortJavaStaticImport: Before | ||
#SortUsingDeclarations: true | ||
#SpaceAfterCStyleCast: false | ||
#SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false # true | ||
#SpaceBeforeAssignmentOperators: true | ||
#SpaceBeforeCaseColon: false | ||
#SpaceBeforeCpp11BracedList: false | ||
#SpaceBeforeCtorInitializerColon: true | ||
#SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: Custom # ControlStatements | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: Custom | ||
SpaceBeforeParensOptions: | ||
AfterControlStatements: false # true | ||
# AfterForeachMacros: true | ||
# AfterFunctionDefinitionName: false | ||
# AfterFunctionDeclarationName: false | ||
# AfterIfMacros: true | ||
# AfterOverloadedOperator: false | ||
# BeforeNonEmptyParentheses: false | ||
#SpaceAroundPointerQualifiers: Default | ||
#SpaceBeforeRangeBasedForLoopColon: true | ||
#SpaceInEmptyBlock: false | ||
#SpaceInEmptyParentheses: false | ||
AfterControlStatements: false | ||
SpacesBeforeTrailingComments: 2 | ||
#SpacesInAngles: Never | ||
#SpacesInConditionalStatement: false | ||
#SpacesInContainerLiterals: true | ||
#SpacesInCStyleCastParentheses: false | ||
SpacesInLineCommentPrefix: | ||
Minimum: 1 | ||
# Maximum: -1 | ||
#SpacesInParentheses: false | ||
#SpacesInSquareBrackets: false | ||
#SpaceBeforeSquareBrackets: false | ||
#BitFieldColonSpacing: Both | ||
Standard: c++17 | ||
#StatementAttributeLikeMacros: | ||
# - Q_EMIT | ||
#StatementMacros: | ||
# - Q_UNUSED | ||
# - QT_REQUIRE_VERSION | ||
TabWidth: 99 | ||
#UseCRLF: false | ||
UseTab: ForContinuationAndIndentation # Never | ||
Minimum: 1 | ||
Standard: c++17 | ||
TabWidth: 4 | ||
UseTab: ForContinuationAndIndentation | ||
WhitespaceSensitiveMacros: | ||
- BOOST_REQUIRE | ||
- BOOST_TEST | ||
- BOOST_TEST_REQUIRE | ||
#WhitespaceSensitiveMacros: | ||
# - STRINGIZE | ||
# - PP_STRINGIZE | ||
# - BOOST_PP_STRINGIZE | ||
# - NS_SWIFT_NAME | ||
# - CF_SWIFT_NAME | ||
... | ||
- BOOST_AUTO_TEST_CASE |
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
4 changes: 4 additions & 0 deletions
4
external_codes/boost_multi/multi/.github/pull_request_template.md
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 @@ | ||
[gl pipelines](https://gitlab.com/correaa/boost-multi/-/pipelines?page=1&scope=all) | ||
[gl merge request](https://gitlab.com/correaa/boost-multi/-/merge_requests/new) | ||
|
||
[](https://gitlab.com/correaa/boost-multi/-/pipelines?page=1&scope=all) |
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.