[clang] [clang-format] Respect definition separators when MaxEmptyLinesToKeep: 0 (PR #206406)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 14 06:16:23 PDT 2026
gautamnsankar wrote:
Hey, sorry for the delay. I have updated the test case, and pushed the changes.
Input:
```c++
int my_function(int a)
{
return a;
}
int my_other_function(int a)
{
return a;
}
```
Actual:
```c++
int my_function(int a)
{
return a;
}
int my_other_function(int a)
{
return a;
}
```
Expected:
```c++
int my_function(int a)
{
return a;
}
int my_other_function(int a)
{
return a;
}
```
Thanks.
https://github.com/llvm/llvm-project/pull/206406
More information about the cfe-commits
mailing list