mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 01:59:26 +00:00
Add and apply InsertBraces statement
> Insert braces after control statements (if, else, for, do, and while) > in C++ unless the control statements are inside macro definitions or > the braces would enclose preprocessor directives.
This commit is contained in:
parent
018ff7b294
commit
d051e1e8f8
@ -69,6 +69,7 @@ IncludeCategories:
|
||||
- Regex: '.*'
|
||||
Priority: 0
|
||||
IndentExternBlock: NoIndent
|
||||
InsertBraces: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
MaxEmptyLinesToKeep: 1
|
||||
PenaltyBreakAssignment: 30
|
||||
|
@ -69,6 +69,7 @@ IncludeCategories:
|
||||
- Regex: '.*'
|
||||
Priority: 0
|
||||
IndentExternBlock: NoIndent
|
||||
InsertBraces: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
MaxEmptyLinesToKeep: 1
|
||||
PenaltyBreakAssignment: 30
|
||||
|
@ -752,7 +752,9 @@ Exit:
|
||||
if (decoder->_total_overhead >= 100 * 1024 &&
|
||||
decoder->_total_read - decoder->_total_overhead <
|
||||
decoder->_total_read / 4)
|
||||
{
|
||||
ret = -1;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user