format: add clang-format for sgl-kernel (#2483)

This commit is contained in:
Yineng Zhang
2024-12-14 22:36:04 +08:00
committed by GitHub
parent 2f9bd0fafd
commit fccbfa3752
4 changed files with 28 additions and 27 deletions

8
sgl-kernel/.clang-format Normal file
View File

@@ -0,0 +1,8 @@
BasedOnStyle: Google
IndentWidth: 2
ColumnLimit: 120
AllowShortFunctionsOnASingleLine: Empty
DerivePointerAlignment: false
PointerAlignment: Left
NamespaceIndentation: None
SortIncludes: true