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