Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngtcp2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kashyap Thimmaraju
ngtcp2
Commits
99768ba8
There was an error fetching the commit references. Please try again later.
Commit
99768ba8
authored
6 years ago
by
Tatsuhiro Tsujikawa
Browse files
Options
Downloads
Patches
Plain Diff
Update .clang-format for clang-format-7
parent
9895a32a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.clang-format
+11
-8
11 additions, 8 deletions
.clang-format
with
11 additions
and
8 deletions
.clang-format
+
11
−
8
View file @
99768ba8
...
@@ -16,10 +16,10 @@ AllowShortLoopsOnASingleLine: false
...
@@ -16,10 +16,10 @@ AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations:
fals
e
AlwaysBreakTemplateDeclarations:
MultiLin
e
BinPackArguments: true
BinPackArguments: true
BinPackParameters: true
BinPackParameters: true
BraceWrapping:
BraceWrapping:
AfterClass: false
AfterClass: false
AfterControlStatement: false
AfterControlStatement: false
AfterEnum: false
AfterEnum: false
...
@@ -38,6 +38,7 @@ BraceWrapping:
...
@@ -38,6 +38,7 @@ BraceWrapping:
BreakBeforeBinaryOperators: None
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakConstructorInitializers: BeforeColon
...
@@ -54,12 +55,12 @@ DerivePointerAlignment: false
...
@@ -54,12 +55,12 @@ DerivePointerAlignment: false
DisableFormat: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
FixNamespaceComments: true
ForEachMacros:
ForEachMacros:
- foreach
- foreach
- Q_FOREACH
- Q_FOREACH
- BOOST_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeBlocks: Preserve
IncludeCategories:
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
Priority: 2
- Regex: '^(<|"(gtest|isl|json)/)'
- Regex: '^(<|"(gtest|isl|json)/)'
...
@@ -78,6 +79,7 @@ MacroBlockBegin: ''
...
@@ -78,6 +79,7 @@ MacroBlockBegin: ''
MacroBlockEnd: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
ObjCSpaceBeforeProtocolList: true
...
@@ -86,20 +88,21 @@ PenaltyBreakBeforeFirstCallParameter: 19
...
@@ -86,20 +88,21 @@ PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PointerAlignment: Right
RawStringFormats:
- Delimiter: pb
Language: TextProto
BasedOnStyle: google
ReflowComments: true
ReflowComments: true
SortIncludes: false
SortIncludes: false
SortUsingDeclarations: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInAngles: false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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