| Issue |
202900
|
| Summary |
[clang-format] RFC add SeparateDeclarationBlocks: (Leave|Always)
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
mydeveloperday
|
we have SeparateDefinitionBlocks which puts a newline between function definitions
---c++
void foo()
{
}
<----- newline added
void bar()
{
}
---
what do you think about having a SeparateDeclarationBlocks for putting newlines after declarations, I func headers with large amount of doxygen style comments get visually cluttered and would like to be able to auto add a newline.
---c++
/** foo func */
void foo();
/** bar func */
void bar();
---
becomes
---c++
/** foo func */
void foo();
/** bar func */
void bar();
---
@owenca , @HazardyKnusperkeks, I would be interested to hear your opinion on the value of such a capability.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs