Start
This commit is contained in:
29
.clang-format
Normal file
29
.clang-format
Normal 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
|
||||
Reference in New Issue
Block a user