Files
cocos4/native/.clang-format
T
Yun Hsiao Wu e1c240f2d0 Clang-Tidy adaptations (#3379)
* gfx: CommandBuffer.draw accept DrawInfo

* clang-tidy config

* tidy adapt

* enable function name check

* better workflow
2021-04-12 09:41:28 +08:00

19 lines
604 B
YAML

---
BasedOnStyle: Google
AccessModifierOffset: -4
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AllowShortCaseLabelsOnASingleLine: true
ColumnLimit: 0
ConstructorInitializerIndentWidth: 0
IncludeBlocks: Preserve
IndentPPDirectives: BeforeHash
IndentWidth: 4
SpacesBeforeTrailingComments: 1
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true