Files
vienna-rss/.clang-format
Eitot 25c5b22254 Update ClangFormat configuration
The Xcode 16 developer tools include ClangFormat 16.0.
2025-05-18 14:40:16 +02:00

35 lines
1.7 KiB
YAML

# ClangFormat 16.0
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignOperands: DontAlign
AlignTrailingComments: Leave
AllowShortFunctionsOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
BraceWrapping:
AfterFunction: true
BreakBeforeBraces: Custom
ColumnLimit: 0
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: (\+?.*)?$
IncludeIsMainSourceRegex: (\+?.*\.h)$
IndentWidth: 4
IndentWrappedFunctionNames: true
InsertNewlineAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: false
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
SeparateDefinitionBlocks: Always
SortIncludes: CaseInsensitive
SpaceAroundPointerQualifiers: Before
SpacesInContainerLiterals: false