Issue 156258
Summary Clang format: more resolution in specification of SeparateDefinitionBlocks
Labels clang
Assignees
Reporter beelsebob
    It’d be nice to have a bit more resolution in setting up the SeparateDefinitionBlocks option for clang format.  Most commonly I want clang-format to stop separating definitions in one case - short function definitions inside C++ classes.  I’d like to be able to still have this code:

```    const std::string& name() const { return name; }
    std::string& name() {return name; }
 ```

While keeping definitions seperate most of the time.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to