aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-04-13 19:29:22 -0300
committerBarichello <artur@barichello.me>2022-04-13 19:30:22 -0300
commit04b0b417d1c9f45a708d3e2eec9146fabe09c1d1 (patch)
tree16aaa9f7a4dd083999261d7b6573a682fd9743ba
parentf856fbd939ec1e631d22b8072fb97f943390905a (diff)
downloadNorthstarLauncher-04b0b417d1c9f45a708d3e2eec9146fabe09c1d1.tar.gz
NorthstarLauncher-04b0b417d1c9f45a708d3e2eec9146fabe09c1d1.zip
Update clang-format
Configs suggested by: https://github.com/R2Northstar/NorthstarLauncher/issues/119#issuecomment-1079788384 Closes #119
-rw-r--r--.clang-format26
1 files changed, 24 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 5fafec43..0c08cabd 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,14 +1,36 @@
Language: Cpp
-Standard: Auto
+Standard: Cpp11
IndentWidth: 4
TabWidth: 4
UseCRLF: false
+AlignTrailingComments: false
+AllowAllConstructorInitializersOnNextLine: false
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortFunctionsOnASingleLine: Empty
+AlwaysBreakAfterDefinitionReturnType: None
+AlwaysBreakAfterReturnType: None
+AlwaysBreakTemplateDeclarations: No
+BinPackArguments: false
+BinPackParameters: false
+ExperimentalAutoDetectBinPacking: false
+IndentCaseLabels: false
+ObjCBinPackProtocolList: Auto
SpacesInSquareBrackets: false
SpacesInParentheses: false
+SpaceAfterCStyleCast: false
+SpaceInEmptyParentheses: false
+SpaceAfterLogicalNot: false
+SpaceBeforeAssignmentOperators: true
+SpaceBeforeCpp11BracedList: true
+SpaceBeforeCtorInitializerColon: true
+SpaceBeforeInheritanceColon: true
+SpaceBeforeParens: ControlStatements
+SpaceBeforeRangeBasedForLoopColon: true
UseTab: Always
ColumnLimit: 140
BreakBeforeBraces: Allman
AlignAfterOpenBracket: AlwaysBreak
IndentExternBlock: Indent
PointerAlignment: Left
-SortIncludes: false \ No newline at end of file
+SortIncludes: false
+NamespaceIndentation: All