-
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.
- Loading branch information
Showing
2 changed files
with
101 additions
and
136 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,42 +1,101 @@ | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: true | ||
AlignConsecutiveDeclarations: false | ||
AlignArrayOfStructures: Right | ||
AlignConsecutiveAssignments: | ||
Enabled: true | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignCompound: true | ||
PadOperators: true | ||
AlignConsecutiveBitFields: | ||
Enabled: true | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignConsecutiveDeclarations: | ||
Enabled: false | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignConsecutiveMacros: | ||
Enabled: true | ||
AcrossEmptyLines: false | ||
AcrossComments: false | ||
AlignEscapedNewlines: Left | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowShortBlocksOnASingleLine: true | ||
AlignOperands: AlignAfterOperator | ||
AlignTrailingComments: | ||
Kind: Always | ||
OverEmptyLines: 1 | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortCaseLabelsOnASingleLine: true | ||
AllowShortEnumsOnASingleLine: true | ||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: true | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
BitFieldColonSpacing: Both | ||
BreakAfterAttributes: Never | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeBraces: Allman | ||
BreakBeforeConceptDeclarations: Always | ||
BreakBeforeInlineASMColon: OnlyMultiline | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeColon | ||
BreakInheritanceList: BeforeColon | ||
BreakStringLiterals: true | ||
ColumnLimit: 80 | ||
CompactNamespaces: false | ||
Cpp11BracedListStyle: true | ||
EmptyLineAfterAccessModifier: Never | ||
EmptyLineBeforeAccessModifier: Always | ||
FixNamespaceComments: true | ||
IncludeBlocks: Merge | ||
IndentCaseBlocks: false | ||
IndentCaseLabels: true | ||
IndentPPDirectives: AfterHash | ||
IndentExternBlock: NoIndent | ||
IndentGotoLabels: true | ||
IndentPPDirectives: None | ||
IndentRequiresClause: true | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: false | ||
InsertNewlineAtEOF: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
Language: Cpp | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
PointerAlignment: Right | ||
PackConstructorInitializers: BinPack | ||
PointerAlignment: Left | ||
ReflowComments: true | ||
SortIncludes: true | ||
RequiresClausePosition: WithPreceding | ||
RequiresExpressionIndentation: OuterScope | ||
SortIncludes: CaseInsensitive | ||
SortUsingDeclarations: Lexicographic | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCaseColon: false | ||
SpaceBeforeCpp11BracedList: true | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceBeforeSquareBrackets: false | ||
SpaceInEmptyBlock: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInConditionalStatement: false | ||
SpacesInContainerLiterals: false | ||
SpacesInLineCommentPrefix: | ||
Minimum: 1 | ||
Maximum: -1 | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
Standard: Cpp11 | ||
Standard: Auto | ||
TabWidth: 4 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,31 @@ | ||
-*, | ||
boost-*, | ||
bugprone-argument-comment, | ||
bugprone-assert-side-effect, | ||
bugprone-assignment-in-if-condition, | ||
bugprone-bad-signal-to-kill-thread, | ||
bugprone-bool-pointer-implicit-conversion, | ||
bugprone-branch-clone, | ||
bugprone-copy-constructor-init, | ||
bugprone-dangling-handle, | ||
bugprone-dynamic-static-initializers, | ||
bugprone-exception-escape, | ||
bugprone-fold-init-type, | ||
bugprone-forward-declaration-namespace, | ||
bugprone-forwarding-reference-overload, | ||
bugprone-implicit-widening-of-multiplication-result, | ||
bugprone-inaccurate-erase, | ||
bugprone-incorrect-roundings, | ||
bugprone-infinite-loop, | ||
bugprone-integer-division, | ||
bugprone-lambda-function-name, | ||
bugprone-macro-*, | ||
bugprone-misplaced-*, | ||
bugprone-move-forwarding-reference, | ||
bugprone-multiple-statement-macro, | ||
bugprone-narrowing-conversions, | ||
bugprone-no-escape, | ||
bugprone-not-null-terminated-result, | ||
bugprone-parent-virtual-call, | ||
bugprone-posix-return, | ||
bugprone-redundant-branch-condition, | ||
bugprone-reserved-identifier, | ||
bugprone-shared-ptr-array-mismatch, | ||
bugprone-signal-handler, | ||
bugprone-signed-char-misuse, | ||
bugprone-sizeof-*, | ||
bugprone-spuriously-wake-up-functions, | ||
bugprone-string-*, | ||
bugprone-stringview-nullptr, | ||
bugprone-suspicious-*, | ||
bugprone-swapped-arguments, | ||
bugprone-terminating-continue, | ||
bugprone-throw-keyword-missing, | ||
bugprone-too-small-loop-variable, | ||
bugprone-unchecked-optional-access, | ||
bugprone-undefined-memory-manipulation, | ||
bugprone-undelegated-constructor, | ||
bugprone-unhandled-*, | ||
bugprone-unused-*, | ||
bugprone-use-after-move, | ||
bugprone-virtual-near-miss, | ||
clang-*, | ||
cppcoreguidelines-avoid-goto, | ||
cppcoreguidelines-c-copy-assignment-signature, | ||
cppcoreguidelines-interfaces-global-init, | ||
cppcoreguidelines-no-malloc, | ||
cppcoreguidelines-owning-memory, | ||
cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
cppcoreguidelines-pro-type-const-cast, | ||
cppcoreguidelines-pro-type-cstyle-cast, | ||
cppcoreguidelines-pro-type-member-init, | ||
cppcoreguidelines-pro-type-reinterpret-cast, | ||
cppcoreguidelines-pro-type-static-cast-downcast, | ||
cppcoreguidelines-slicing, | ||
cppcoreguidelines-special-member-functions, | ||
cppcoreguidelines-virtual-class-destructor, | ||
google-*, | ||
llvm-include-order, | ||
llvm-namespace-comment, | ||
llvm-twine-local, | ||
misc-definitions-in-headers, | ||
misc-misplaced-const, | ||
misc-redundant-expression, | ||
misc-static-assert, | ||
misc-throw-by-value-catch-by-reference, | ||
misc-unconventional-assign-operator, | ||
misc-unused-*, | ||
modernize-avoid-*, | ||
modernize-concat-nested-namespaces, | ||
modernize-deprecated-*, | ||
modernize-loop-convert, | ||
modernize-make-*, | ||
modernize-pass-by-value, | ||
modernize-raw-string-literal, | ||
modernize-redundant-void-arg, | ||
modernize-replace-*, | ||
modernize-return-braced-init-list, | ||
modernize-shrink-to-fit, | ||
modernize-unary-static-assert, | ||
modernize-use-auto, | ||
modernize-use-bool-literals, | ||
modernize-use-default-member-init, | ||
modernize-use-emplace, | ||
modernize-use-equals-*, | ||
modernize-use-nodiscard, | ||
modernize-use-noexcept, | ||
modernize-use-nullptr, | ||
modernize-use-override, | ||
modernize-use-transparent-functors, | ||
modernize-use-uncaught-exceptions, | ||
modernize-use-using, | ||
performance-*, | ||
readability-avoid-const-params-in-decls, | ||
readability-braces-around-statements, | ||
readability-const-return-type, | ||
readability-container-*, | ||
readability-convert-member-functions-to-static, | ||
readability-delete-null-pointer, | ||
readability-duplicate-include, | ||
readability-function-size, | ||
readability-identifier-naming, | ||
readability-implicit-bool-conversion, | ||
readability-inconsistent-declaration-parameter-name, | ||
readability-isolate-declaration, | ||
readability-make-member-function-const, | ||
readability-misleading-indentation, | ||
readability-misplaced-array-index, | ||
readability-named-parameter, | ||
readability-non-const-parameter, | ||
readability-qualified-auto, | ||
readability-redundant-*, | ||
readability-simplify-*, | ||
readability-static-*, | ||
readability-string-compare, | ||
readability-uniqueptr-delete-release | ||
--- | ||
Checks: > | ||
-*, | ||
bugprone-*, | ||
-bugprone-easily-swappable-parameters, | ||
cert-*, | ||
-cert-dcl21-cpp, | ||
clang-*, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-non-private-member-variables-in-classes, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
hicpp-exception-baseclass, | ||
hicpp-multiway-paths-covered, | ||
hicpp-signed-bitwise, | ||
llvm-header-guard, | ||
llvm-include-order, | ||
llvm-namespace-comment, | ||
misc-*, | ||
-misc-non-private-member-variables-in-classes, | ||
modernize-*, | ||
-modernize-use-trailing-return-type, | ||
performance-*, | ||
readability-*, | ||
-readability-function-cognitive-complexity, | ||
-readability-identifier-length, | ||
-readability-else-after-return | ||
CheckOptions: | ||
- { key: hicpp-multiway-paths-covered.WarnOnMissingElse, value: true } | ||
- { key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals, value: true } | ||
|