This commit is contained in:
2025-10-30 20:30:31 +09:00
commit 4660e519d4
15 changed files with 7602 additions and 0 deletions

29
.clang-format Normal file
View File

@@ -0,0 +1,29 @@
Language: Cpp
BasedOnStyle: Google
IndentWidth: 4
TabWidth: 4
UseTab: Never
BreakBeforeBraces: Attach
ColumnLimit: 80
SpaceBeforeParens: ControlStatements
PointerAlignment: Right
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"threads/.*\.h"'
Priority: 1
- Regex: '^"userprog/.*\.h"'
Priority: 2
- Regex: '^"devices/.*\.h"'
Priority: 3
- Regex: '^"filesys/.*\.h"'
Priority: 4
- Regex: '^".*\.h"'
Priority: 5
- Regex: '^<.*\.h>'
Priority: 6
- Regex: '^<.*'
Priority: 7