2 # This configuration requires clang-format version 18 exactly.
5 AllowShortFunctionsOnASingleLine: InlineOnly
6 AlwaysBreakAfterDefinitionReturnType: None
7 AlwaysBreakAfterReturnType: None
9 BinPackParameters: true
16 BreakBeforeBraces: Custom
18 IndentPPDirectives: AfterHash
19 QualifierAlignment: Right
20 SortUsingDeclarations: false
21 SpaceAfterTemplateKeyword: true
22 IncludeBlocks: Regroup
24 - Regex: '^[<"]cmSTL\.hxx'
26 - Regex: '^[<"]cmConfigure\.h'
30 - Regex: '^(<|")cm(ext)?/'
32 - Regex: '^(<|")windows\.h'
36 - Regex: '^(<|")Qt?[A-Z]'
40 - Regex: '^(<|")cmsys/'
44 - Regex: '^(<|")cm[A-Z][^.]+\.h'