1 2BasedOnStyle: InheritParentConfig 3DisableFormat: false 4 5ColumnLimit: 100 6 7# ACO clang-format rules: 8Language: Cpp 9Standard: c++14 10 11# Force pointers to the type for C++ 12DerivePointerAlignment: false 13PointerAlignment: Left 14 15# Same effect as IndentAccessModifiers: False 16AccessModifierOffset: -3 17 18# Compact some cumbersome C++ code 19SpaceBeforeCtorInitializerColon: True 20AllowShortCaseLabelsOnASingleLine: True 21AllowShortFunctionsOnASingleLine: InlineOnly 22AllowShortBlocksOnASingleLine: Empty 23AllowShortLambdasOnASingleLine: All 24 25# Wrap before LambdaBody and disable SplitEmptyFunction 26BraceWrapping: 27 AfterControlStatement: false 28 AfterEnum: false 29 AfterFunction: true 30 AfterStruct: false 31 BeforeElse: false 32 SplitEmptyFunction: false 33 SplitEmptyRecord: false 34 BeforeLambdaBody: true 35 36# Regroup #include blocks 37IncludeBlocks: Regroup 38IncludeCategories: 39 - Regex: '"aco.*' 40 Priority: 1 41 - Regex: '"(common|llvm|vulkan)\/.*' 42 Priority: 2 43 - Regex: '"(nir|util\/).*' 44 Priority: 3 45 - Regex: '.*\/.*' 46 Priority: 4 47 - Regex: '.*' 48 Priority: 5 49 50MacroBlockBegin: 'BEGIN_TEST' 51MacroBlockEnd: 'END_TEST' 52CommentPragmas: '^(!|;|>>|~)' 53 54WhitespaceSensitiveMacros: ['qoShaderModuleCreateInfoGLSL'] 55