-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a project-wide .clang-format and reformat everything
- Loading branch information
1 parent
2b288b8
commit 483f3eb
Showing
145 changed files
with
13,286 additions
and
12,236 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 |
---|---|---|
@@ -0,0 +1,139 @@ | ||
Language: Cpp | ||
BasedOnStyle: WebKit | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: AlwaysBreak | ||
AlignArrayOfStructures: Right | ||
AlignConsecutiveAssignments: None | ||
AlignConsecutiveBitFields: None | ||
AlignConsecutiveDeclarations: None | ||
AlignConsecutiveMacros: None | ||
AlignEscapedNewlines: DontAlign | ||
AlignOperands: AlignAfterOperator | ||
AlignTrailingComments: true | ||
AllowAllArgumentsOnNextLine: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Never | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortEnumsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLambdasOnASingleLine: Inline | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: true | ||
AlwaysBreakTemplateDeclarations: Yes | ||
AttributeMacros: ['STDEXEC_DETAIL_CUDACC_HOST_DEVICE'] | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BitFieldColonSpacing: Both | ||
BreakBeforeBraces: Custom | ||
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: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: false | ||
BreakAfterJavaFieldAnnotations: true | ||
BreakBeforeBinaryOperators: NonAssignment | ||
BreakBeforeConceptDeclarations: true | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeComma | ||
BreakInheritanceList: BeforeComma | ||
BreakStringLiterals: true | ||
ColumnLimit: 100 | ||
CompactNamespaces: true | ||
ConstructorInitializerIndentWidth: 2 | ||
ContinuationIndentWidth: 2 | ||
Cpp11BracedListStyle: true | ||
DeriveLineEnding: true | ||
DerivePointerAlignment: true | ||
EmptyLineAfterAccessModifier: Never | ||
EmptyLineBeforeAccessModifier: Leave | ||
ExperimentalAutoDetectBinPacking: true | ||
FixNamespaceComments: false | ||
IncludeBlocks: Preserve | ||
IndentAccessModifiers: false | ||
IndentCaseBlocks: false | ||
IndentCaseLabels: false | ||
IndentExternBlock: AfterExternBlock | ||
IndentGotoLabels: false | ||
IndentPPDirectives: None | ||
IndentRequires: false | ||
IndentWidth: 2 | ||
IndentWrappedFunctionNames: true | ||
InsertTrailingCommas: None | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
LambdaBodyIndentation: Signature | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: All | ||
PackConstructorInitializers: Never | ||
PenaltyBreakAssignment: 64 | ||
PenaltyBreakBeforeFirstCallParameter: 64 | ||
PenaltyBreakComment: 512 | ||
PenaltyBreakFirstLessLess: 64 | ||
PenaltyBreakOpenParenthesis: 32 | ||
PenaltyBreakString: 64 | ||
PenaltyBreakTemplateDeclaration: 4 | ||
PenaltyExcessCharacter: 256 | ||
PenaltyIndentedWhitespace: 2 | ||
PenaltyReturnTypeOnItsOwnLine: 4 | ||
PointerAlignment: Left | ||
QualifierAlignment: Leave | ||
ReferenceAlignment: Pointer | ||
RemoveBracesLLVM: false | ||
ReflowComments: false | ||
RequiresClausePosition: OwnLine | ||
IndentRequiresClause: true | ||
SeparateDefinitionBlocks: Always | ||
ShortNamespaceLines: 0 | ||
SortIncludes: Never | ||
SortUsingDeclarations: false | ||
SpaceAfterCStyleCast: true | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: true | ||
SpaceAroundPointerQualifiers: After | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCaseColon: false | ||
SpaceBeforeCpp11BracedList: false | ||
SpaceBeforeCtorInitializerColon: false | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: Custom | ||
SpaceBeforeParensOptions: | ||
AfterControlStatements: true | ||
AfterForeachMacros: false | ||
AfterFunctionDeclarationName: false | ||
AfterFunctionDeclarationName: false | ||
AfterFunctionDefinitionName: false | ||
AfterIfMacros: false | ||
AfterOverloadedOperator: false | ||
AfterRequiresInClause: false | ||
AfterRequiresInExpression: false | ||
BeforeNonEmptyParentheses: false | ||
SpaceBeforeRangeBasedForLoopColon: false | ||
SpaceBeforeSquareBrackets: false | ||
SpaceInEmptyBlock: true | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: Leave | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInConditionalStatement: false | ||
SpacesInContainerLiterals: true | ||
SpacesInParentheses: false | ||
Standard: c++20 | ||
TabWidth: 0 | ||
UseCRLF: true | ||
UseTab: Never |
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.