mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
build: tell clang-tidy to suggest uppercase literal suffixes (#7529)
This commit is contained in:
@@ -28,3 +28,4 @@ CheckOptions:
|
||||
- { key: cppcoreguidelines-avoid-do-while.IgnoreMacros, value: true }
|
||||
- { key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic, value: true }
|
||||
- { key: modernize-pass-by-value.ValuesOnly, value: true }
|
||||
- { key: readability-implicit-bool-conversion.UseUpperCaseLiteralSuffix, value: true }
|
||||
|
||||
@@ -43,4 +43,5 @@ CheckOptions:
|
||||
- { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
||||
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
||||
- { key: readability-implicit-bool-conversion.UseUpperCaseLiteralSuffix, value: true }
|
||||
|
||||
|
||||
@@ -54,3 +54,4 @@ CheckOptions:
|
||||
- { key: readability-identifier-naming.StructCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
||||
- { key: readability-implicit-bool-conversion.UseUpperCaseLiteralSuffix, value: true }
|
||||
|
||||
@@ -50,3 +50,4 @@ CheckOptions:
|
||||
- { key: readability-identifier-naming.StructCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
|
||||
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
||||
- { key: readability-implicit-bool-conversion.UseUpperCaseLiteralSuffix, value: true }
|
||||
|
||||
Reference in New Issue
Block a user