-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/new-api' into main
Prepare for update to new up-cpp API closes #48
- Loading branch information
Showing
32 changed files
with
670 additions
and
3,327 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,26 @@ | ||
# Part of the uprocotol project, under the Apache License v2.0 | ||
# See /LICENSE for license information. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
BasedOnStyle: Google | ||
AllowShortBlocksOnASingleLine: 'false' | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortLoopsOnASingleLine: 'false' | ||
DerivePointerAlignment: 'false' | ||
ExperimentalAutoDetectBinPacking: 'false' | ||
FixNamespaceComments: 'true' | ||
PointerAlignment: Left | ||
|
||
TabWidth: 4 | ||
IndentWidth: 4 | ||
AccessModifierOffset: -4 | ||
|
||
# There are *arguments* that tabs are better for accessibility (allows | ||
# customization to meet individual needs _and_ represents single character on | ||
# alternate display devices), but first-hand accounts / discussions of | ||
# preferences are not easily found at the moment. | ||
# | ||
# Regardless, tabs are used for the time being to allow greater flexibility | ||
# in configuration for the broader community. | ||
UseTab: ForIndentation |
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,70 @@ | ||
# Part of the uprocotol project, under the Apache License v2.0 | ||
# See /LICENSE for license information. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
# - modernize-use-nodiscard is disabled because it only fixes const methods, | ||
# not non-const, which yields distracting results on accessors. | ||
# - performance-unnecessary-value-param is disabled because it duplicate | ||
# modernize-pass-by-value. | ||
Checks: > | ||
-*, | ||
bugprone-*, | ||
#-bugprone-easily-swappable-parameters, | ||
#-bugprone-narrowing-conversions, | ||
cert-*, | ||
-cert-msc50-cpp, | ||
-cert-msc51-cpp, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-special-member-functions, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
google-*, | ||
#-google-readability-todo, | ||
#-google-runtime-int, | ||
llvm-header-guard, | ||
hicpp-exception-baseclass, | ||
hicpp-no-assembler, | ||
misc-confusable-identifiers, | ||
misc-const-correctness, | ||
misc-definitions-in-headers, | ||
misc-header-include-cycle, | ||
misc-include-cleaner, | ||
misc-misplaced-const, | ||
misc-non-private-member-variables-in-classes, | ||
misc-redundant-expression, | ||
misc-static-assert, | ||
misc-unconventional-assign-operator, | ||
misc-uniqueptr-reset-release, | ||
misc-unused-*, | ||
misc-use-anonymous-namespace, | ||
modernize-*, | ||
-modernize-use-trailing-return-type, | ||
performance-*, | ||
-performance-avoid-endl, | ||
portability-*, | ||
-portability-restrict-system-includes, | ||
readability-*, | ||
#-readability-convert-member-functions-to-static, | ||
-readability-identifier-length, | ||
-readability-suspicious-call-argument, | ||
WarningsAsErrors: true | ||
CheckOptions: | ||
- { key: readability-identifier-naming.ClassCase, value: CamelCase } | ||
- { | ||
key: readability-identifier-naming.ConstexprVariableCase, | ||
value: UPPER_CASE, | ||
} | ||
- { key: readability-identifier-naming.NamespaceCase, value: lower_case } | ||
- { key: readability-identifier-naming.StructCase, value: CamelCase } | ||
- { | ||
key: readability-identifier-naming.TemplateParameterCase, | ||
value: CamelCase, | ||
} | ||
- { key: readability-identifier-naming.TypeAliasCase, value: CamelCase } | ||
- { key: readability-identifier-naming.TypedefCase, value: CamelCase } | ||
- { key: readability-identifier-naming.UnionCase, value: CamelCase } | ||
- { key: readability-identifier-naming.VariableCase, value: lower_case } | ||
- { key: readability-identifier-naming.ParameterCase, value: lower_case } | ||
- { key: readability-identifier-naming.ClassMemberCase, value: lower_case } | ||
- { key: readability-identifier-naming.ClassMemberSuffix, value: _ } |
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.