Files
dawn/.clang-format
T
2026-08-21 16:03:01 +02:00

17 lines
553 B
YAML

BasedOnStyle: LLVM
ColumnLimit: 80
IndentWidth: 4
TabWidth: 4
UseTab: ForContinuationAndIndentation
AccessModifierOffset: -4
# Member definitions keep the return type on its own line in .cpp files.
# In-class getters stay on one line (AllDefinitions forces them to wrap).
AlwaysBreakAfterReturnType: TopLevelDefinitions
AllowShortFunctionsOnASingleLine: InlineOnly
BreakBeforeBraces: Linux
SpaceAfterCStyleCast: true
AlignAfterOpenBracket: DontAlign
AlignOperands: DontAlign
SpacesBeforeTrailingComments: 2
WhitespaceSensitiveMacros: ['G_DEFINE_QUARK']