FaceAccess/.clang-format

17 lines
420 B
Plaintext
Raw Permalink Normal View History

2024-06-18 14:27:48 +08:00
BasedOnStyle: LLVM
ObjCBlockIndentWidth: 4
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
2024-07-09 10:41:51 +08:00
ColumnLimit: 140
2024-06-18 14:27:48 +08:00
#模板声明后换行
AlwaysBreakTemplateDeclarations: true
# 是否允许短if单行 If true, if (a) return; 可以放到同一行
AllowShortIfStatementsOnASingleLine: true
#短句 while (true) continue; 能被放到单行。
AllowShortLoopsOnASingleLine: true
AllowShortFunctionsOnASingleLine: false