Files
Arseny Kapoulkine f68e09b0af Improve .clang-format setup
This change fixes a few idiosyncrasies in clang-format integration:

- extern/ code should not be formatted
- All other code, including meshoptimizer.h/gltfpack.h, should be
- Fix indentation issues because of extern "C" block
- Work around clang-format bug wrt calling convention qualifiers
2024-10-15 15:00:51 -07:00

16 lines
388 B
YAML

Standard: Cpp03
UseTab: ForIndentation
TabWidth: 4
IndentWidth: 4
AccessModifierOffset: -4
BreakBeforeBraces: Allman
IndentCaseLabels: false
ColumnLimit: 0
PointerAlignment: Left
BreakConstructorInitializersBeforeComma: true
NamespaceIndentation: None
AlignEscapedNewlines: DontAlign
AlignAfterOpenBracket: DontAlign
IndentExternBlock: NoIndent
Macros: [MESHOPTIMIZER_ALLOC_CALLCONV=&_&]