forked from scott/threaded_network_chat
copy .clang-format to src/
This commit is contained in:
20
src/.clang-format
Normal file
20
src/.clang-format
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"BasedOnStyle": "LLVM",
|
||||||
|
"UseTab": "Always",
|
||||||
|
"IndentWidth": 8,
|
||||||
|
"TabWidth": 8,
|
||||||
|
"ColumnLimit": 120,
|
||||||
|
"LineEnding": "LF",
|
||||||
|
"RemoveBracesLLVM": true,
|
||||||
|
"AlwaysBreakAfterReturnType": "AllDefinitions",
|
||||||
|
"BreakBeforeBraces": "Custom",
|
||||||
|
"BraceWrapping": {
|
||||||
|
"AfterFunction": true,
|
||||||
|
"AfterClass": false,
|
||||||
|
"AfterControlStatement": false,
|
||||||
|
"AfterNamespace": false,
|
||||||
|
"AfterStruct": false,
|
||||||
|
"BeforeElse": false,
|
||||||
|
"BeforeCatch": false
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user