Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
03d04a80
Commit
03d04a80
authored
Aug 18, 2020
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
misc: update .clang-format file
Change-Id: I8fd6b6dcf9a7bf539add5a9e64d14821ecc89387
parent
512168c4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.clang-format
+18
-9
18 additions, 9 deletions
.clang-format
with
18 additions
and
9 deletions
.clang-format
+
18
−
9
View file @
03d04a80
# Based on the .clang-format for Qt Creator
#
# This is for clang-format >= 10.0.
#
# https://releases.llvm.org/10.0.0/tools/clang/docs/ClangFormatStyleOptions.html
#
---
Language: Cpp
Language: Cpp
AccessModifierOffset: -4
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: DontAlign
AlignEscapedNewlines: DontAlign
AlignOperands: true
AlignOperands: true
AlignTrailingComments: true
AlignTrailingComments: true
...
@@ -11,11 +19,11 @@ AllowShortBlocksOnASingleLine: false
...
@@ -11,11 +19,11 @@ AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType:
N
on
e
AlwaysBreakAfterReturnType:
TopLevelDefiniti
on
s
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakAfterDefinitionReturnType: All
BinPackArguments: false
BinPackArguments: false
BinPackParameters: false
BinPackParameters: false
BraceWrapping:
BraceWrapping:
...
@@ -67,7 +75,6 @@ IndentWrappedFunctionNames: false
...
@@ -67,7 +75,6 @@ IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
KeepEmptyLinesAtTheStartOfBlocks: false
# Do not add QT_BEGIN_NAMESPACE/QT_END_NAMESPACE as this will indent lines in between.
MacroBlockBegin: ""
MacroBlockBegin: ""
MacroBlockEnd: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
MaxEmptyLinesToKeep: 1
...
@@ -82,13 +89,14 @@ PenaltyBreakFirstLessLess: 400
...
@@ -82,13 +89,14 @@ PenaltyBreakFirstLessLess: 400
PenaltyBreakString: 600
PenaltyBreakString: 600
PenaltyExcessCharacter: 50
PenaltyExcessCharacter: 50
PenaltyReturnTypeOnItsOwnLine: 300
PenaltyReturnTypeOnItsOwnLine: 300
PointerAlignment:
Righ
t
PointerAlignment:
Lef
t
ReflowComments:
fals
e
ReflowComments:
tru
e
SortIncludes:
tru
e
SortIncludes:
fals
e
SortUsingDeclarations:
tru
e
SortUsingDeclarations:
fals
e
SpaceAfterCStyleCast: true
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesBeforeTrailingComments: 1
...
@@ -99,3 +107,4 @@ SpacesInParentheses: false
...
@@ -99,3 +107,4 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInSquareBrackets: false
Standard: Cpp11
Standard: Cpp11
TabWidth: 4
TabWidth: 4
UseTab: Never
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment