-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit e2e62d3
Showing
44 changed files
with
9,799 additions
and
0 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,67 @@ | ||
# Generated from CLion C/C++ Code Style settings | ||
BasedOnStyle: LLVM | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: false | ||
AlignOperands: true | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllConstructorInitializersOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: All | ||
AllowShortIfStatementsOnASingleLine: Always | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: true | ||
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: BeforeComma | ||
BreakInheritanceList: BeforeComma | ||
ColumnLimit: 0 | ||
CompactNamespaces: true | ||
ContinuationIndentWidth: 8 | ||
FixNamespaceComments: true | ||
IndentCaseLabels: true | ||
IndentPPDirectives: None | ||
IndentWidth: 4 | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: All | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: true | ||
PointerAlignment: Right | ||
ReflowComments: false | ||
SpaceAfterCStyleCast: true | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: false | ||
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: 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Note #1: the full list of Clang-Tidy checks can be found at | ||
# https://clang.llvm.org/extra/clang-tidy/checks/list.html... | ||
# Note #2: performance-no-automatic-move shouldn't be disabled, but we have to | ||
# due to an issue with Qt (see | ||
# https://bugreports.qt.io/browse/QTBUG-85415)... | ||
# Note #3: readability-redundant-access-specifiers shouldn't normally be | ||
# disabled, but Clang-Tidy gets a bit confused with access specifiers | ||
# like "public" vs. "public slots"... | ||
|
||
# Note: if you make changes here, you may need to make changes in .clang-tidy | ||
# files elsewhere in the tree; clang-tidy-10 doesn't allow selective | ||
# inheritance of parent .clang-tidy files. | ||
|
||
|
||
--- | ||
Checks: >- | ||
-*, | ||
clang-diagnostic-*, | ||
llvm-*, | ||
misc-*, | ||
-misc-unused-parameters, | ||
-misc-non-private-member-variables-in-classes, | ||
-google-readability-namespace-comments, | ||
-readability-identifier-naming | ||
-readability-redundant-access-specifiers | ||
# Note that the readability-identifier-naming check is disabled, there are too | ||
# many violations in the codebase, and they create too much noise in clang-tidy | ||
# results. | ||
# Naming settings are kept for documentation purposes and allowing to run the | ||
# check if the users would override this file, e.g. via a command-line arg. | ||
CheckOptions: | ||
- key: readability-identifier-naming.ClassCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.EnumCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.FunctionCase | ||
value: camelBack | ||
- key: readability-identifier-naming.MemberCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.ParameterCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.UnionCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.VariableCase | ||
value: CamelCase |
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,64 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
max_line_length = 120 | ||
tab_width = 4 | ||
|
||
[{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}] | ||
indent_size = 2 | ||
tab_width = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{adoc, asc, asciidoc}] | ||
indent_size = 4 | ||
indent_style = tab | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false | ||
ij_any_wrap_long_lines = true | ||
|
||
[*.{md, markdown, mkd}] | ||
indent_size = 4 | ||
indent_style = tab | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false | ||
|
||
[*.{sh, bash, zsh}] | ||
indent_size = 2 | ||
indent_style = tab | ||
tab_width = 2 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false | ||
|
||
[*.{h,hh,hpp,hxx,c,cc,cpp,cxx,inl}] | ||
indent_size = 4 | ||
indent_style = space | ||
tab_width = 4 | ||
|
||
[*.go] | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] | ||
indent_size = 2 | ||
indent_style = space | ||
tab_width = 2 | ||
|
||
[CMakeLists.txt] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.{Makefile, mak}] | ||
indent_style = tab | ||
indent_size = 4 |
Validating CODEOWNERS rules …
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,2 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
* @hedzr |
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,6 @@ | ||
# These are supported funding model platforms | ||
|
||
# github: [hedzr] | ||
# open_collective: cmdr-cxx | ||
custom: https://paypal.me/hezr/5 | ||
# custom: https://paypal.me/hezr/20 |
Oops, something went wrong.