Issue 52976
Summary [clang-format] SeparateDefinitionBlocks always puts a break between a comment and the function the comment it for
Labels bug, clang-format
Assignees
Reporter mydeveloperday
    I'm seeing some odd behaviour in SeperateDefinitionBlocks..

`SeparateDefinitionBlocks: Always`

```
void foo() {}
/* ABC */
void bar() {}
```
becomes

```
void foo() {}

/* ABC */

void bar() {}
```
If the ABC comment is a doxygen style comment it doesn't make sense to separate it from the function below
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to