Update clang-format

This commit is contained in:
Sam Ellicott 2021-05-22 14:44:59 -04:00
parent b6b3039459
commit 36ef604baf

View file

@ -15,7 +15,8 @@ MaxEmptyLinesToKeep: 2
PointerAlignment: Right PointerAlignment: Right
SpaceInEmptyParentheses: 'false' SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'true' SpacesInAngles: 'true'
SpacesInCStyleCastParentheses: 'true' # this is just atrocious
#SpacesInCStyleCastParentheses: 'true'
SpacesInContainerLiterals: 'true' SpacesInContainerLiterals: 'true'
SpacesInParentheses: 'true' SpacesInParentheses: 'true'
SpacesInSquareBrackets: 'true' SpacesInSquareBrackets: 'true'
@ -26,9 +27,15 @@ IndentCaseLabels: 'true'
# Additions by Sam Ellicott # Additions by Sam Ellicott
ColumnLimit: 100 ColumnLimit: 100
AlignConsecutiveAssignments: true # From general dislike from Charles and Cai, I am turning these off
AlignConsecutiveMacros: true #AlignConsecutiveAssignments: true
AlignTrailingComments: true #AlignConsecutiveMacros: true
#AlignTrailingComments: true
#AlignOperands: AlignAfterOperator
# Turn off alignment
AlignConsecutiveAssignments: false
AlignConsecutiveMacros: false
AlignTrailingComments: false
AlignEscapedNewlines: Left AlignEscapedNewlines: Left
AlignOperands: AlignAfterOperator AlignOperands: AlignAfterOperator
AllowShortBlocksOnASingleLine: Always AllowShortBlocksOnASingleLine: Always