Change the style guide to no space before the bracket

This commit is contained in:
Richard Hughes 2021-07-24 17:38:54 +01:00 committed by Mario Limonciello
parent a75266e701
commit affd39f10b
3 changed files with 6 additions and 6 deletions

View File

@ -25,9 +25,9 @@ Language: 'Cpp'
MaxEmptyLinesToKeep: '1'
PointerAlignment: 'Right'
SortIncludes: 'true'
SpaceAfterCStyleCast: 'true'
SpaceAfterCStyleCast: 'false'
SpaceBeforeAssignmentOperators : 'true'
SpaceBeforeParens: 'Always'
SpaceBeforeParens: 'ControlStatements'
SpaceInEmptyParentheses: 'false'
SpacesInSquareBrackets: 'false'
TabWidth: '8'

View File

@ -22,9 +22,9 @@ from the PackageKit Coding Style.
* 8-space tabs for indentation
* Prefer lines of less than <= 80 columns
* Prefer lines of less than <= 100 columns
* 1-space between function name and braces (both calls and macro
* No spaces between function name and braces (both calls and macro
declarations)
* If function signature/call fits in a single line, do not break it

View File

@ -20,7 +20,7 @@ CLANG_DIFF_FORMATTERS = [
"clang-format-diff-13",
"clang-format-diff",
]
FIXUPS = {"g_autoptr (": "g_autoptr(", "sizeof (": "sizeof(", "g_auto (": "g_auto("}
FIXUPS = {}
def parse_args():