Fixes https://github.com/llvm/llvm-project/issues/57180
Given configuration:
SeparateDefinitionBlocks: Always DefinitionBlockSpacing: 2
Two spaces will be inserted between definition blocks. Code before
formatting:
/// f is a function void f() { // Some code // More code return; } /// g is another function void g() { // Some other code }
Versus code after formatting:
/// f is a function void f() { // Some code // More code return; } /// g is another function void g() { // Some other code }
Note: two zero width spaces were inserted into the commit message in
order to prevent git from removing the additional lines inside the
commit. These will not appear in formatted code.
Can you write this not in terms of the code variables and enumerated but in terms of what they put in the .clang-format file