diff --git a/repos/dde_linux/.clang-format b/repos/dde_linux/.clang-format new file mode 100644 index 0000000000..657c15b7eb --- /dev/null +++ b/repos/dde_linux/.clang-format @@ -0,0 +1,48 @@ +--- +AccessModifierOffset: 1 +AlignAfterOpenBracket: Align +AlignArrayOfStructures: None +AlignConsecutiveAssignments: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true + AlignFunctionPointers: true +AlignConsecutiveDeclarations: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true +AlignConsecutiveMacros: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true +AlignConsecutiveShortCaseStatements: + Enabled: true +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: Always +AllowShortCaseExpressionOnASingleLine: true +AllowShortEnumsOnASingleLine: true +AllowShortFunctionsOnASingleLine: InlineOnly +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLambdasOnASingleLine: Inline +AllowShortLoopsOnASingleLine: true +BreakBeforeBraces: Linux +EmptyLineAfterAccessModifier: Always +IndentCaseBlocks: true +IndentExternBlock: Indent +IndentWrappedFunctionNames: true +IndentAccessModifiers: true +IndentPPDirectives: BeforeHash +UseTab: AlignWithSpaces +LambdaBodyIndentation: Signature +Language: Cpp +Standard: c++20 +SpaceInEmptyBlock: true +NamespaceIndentation: All +IndentGotoLabels: true +BreakBeforeInlineASMColon: OnlyMultiline +IndentWidth: 4 +TabWidth: 4 +ColumnLimit: 100 \ No newline at end of file diff --git a/repos/os/.clang-format b/repos/os/.clang-format new file mode 100644 index 0000000000..657c15b7eb --- /dev/null +++ b/repos/os/.clang-format @@ -0,0 +1,48 @@ +--- +AccessModifierOffset: 1 +AlignAfterOpenBracket: Align +AlignArrayOfStructures: None +AlignConsecutiveAssignments: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true + AlignFunctionPointers: true +AlignConsecutiveDeclarations: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true +AlignConsecutiveMacros: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true +AlignConsecutiveShortCaseStatements: + Enabled: true +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: Always +AllowShortCaseExpressionOnASingleLine: true +AllowShortEnumsOnASingleLine: true +AllowShortFunctionsOnASingleLine: InlineOnly +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLambdasOnASingleLine: Inline +AllowShortLoopsOnASingleLine: true +BreakBeforeBraces: Linux +EmptyLineAfterAccessModifier: Always +IndentCaseBlocks: true +IndentExternBlock: Indent +IndentWrappedFunctionNames: true +IndentAccessModifiers: true +IndentPPDirectives: BeforeHash +UseTab: AlignWithSpaces +LambdaBodyIndentation: Signature +Language: Cpp +Standard: c++20 +SpaceInEmptyBlock: true +NamespaceIndentation: All +IndentGotoLabels: true +BreakBeforeInlineASMColon: OnlyMultiline +IndentWidth: 4 +TabWidth: 4 +ColumnLimit: 100 \ No newline at end of file diff --git a/repos/pc/.clang-format b/repos/pc/.clang-format new file mode 100644 index 0000000000..657c15b7eb --- /dev/null +++ b/repos/pc/.clang-format @@ -0,0 +1,48 @@ +--- +AccessModifierOffset: 1 +AlignAfterOpenBracket: Align +AlignArrayOfStructures: None +AlignConsecutiveAssignments: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true + AlignFunctionPointers: true +AlignConsecutiveDeclarations: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true + AlignCompound: true +AlignConsecutiveMacros: + Enabled: true + AcrossEmptyLines: false + AcrossComments: true +AlignConsecutiveShortCaseStatements: + Enabled: true +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: Always +AllowShortCaseExpressionOnASingleLine: true +AllowShortEnumsOnASingleLine: true +AllowShortFunctionsOnASingleLine: InlineOnly +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLambdasOnASingleLine: Inline +AllowShortLoopsOnASingleLine: true +BreakBeforeBraces: Linux +EmptyLineAfterAccessModifier: Always +IndentCaseBlocks: true +IndentExternBlock: Indent +IndentWrappedFunctionNames: true +IndentAccessModifiers: true +IndentPPDirectives: BeforeHash +UseTab: AlignWithSpaces +LambdaBodyIndentation: Signature +Language: Cpp +Standard: c++20 +SpaceInEmptyBlock: true +NamespaceIndentation: All +IndentGotoLabels: true +BreakBeforeInlineASMColon: OnlyMultiline +IndentWidth: 4 +TabWidth: 4 +ColumnLimit: 100 \ No newline at end of file diff --git a/repos/pc/.clangd b/repos/pc/.clangd new file mode 100644 index 0000000000..bed8d656f5 --- /dev/null +++ b/repos/pc/.clangd @@ -0,0 +1,8 @@ +CompileFlags: + Add: [-nostdinc, -m64, -std=c++20, -ferror-limit=0] + Compiler: /usr/local/genode/tool/23.05/bin/genode-x86-g++ + +Diagnostics: + Suppress: '*' + ClangTidy: + Remove: '*' \ No newline at end of file