mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Added clangd configurations for more repositories.
This commit is contained in:
48
repos/dde_linux/.clang-format
Normal file
48
repos/dde_linux/.clang-format
Normal file
@@ -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
|
||||||
48
repos/os/.clang-format
Normal file
48
repos/os/.clang-format
Normal file
@@ -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
|
||||||
48
repos/pc/.clang-format
Normal file
48
repos/pc/.clang-format
Normal file
@@ -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
|
||||||
8
repos/pc/.clangd
Normal file
8
repos/pc/.clangd
Normal file
@@ -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: '*'
|
||||||
Reference in New Issue
Block a user