Get clang format to put closing parenthesis of multiline function calls on separate lines?

前端 未结 1 1642
[愿得一人]
[愿得一人] 2021-02-19 19:35

I\'ve been using clang format to help keep my code clean. For multiline function calls, is there any way to get clang to put the cloning parenthesis on it\'s own line?

<

相关标签:
1条回答
  • 2021-02-19 20:16

    I don't think it's currently possible after looking through all the options and coming across this stalled code review: https://reviews.llvm.org/D33029

    (I too want this, as we have thousands of lines of code which use this style, and clang-format supporting this would get me to adopt clang format in Visual Studio - https://developercommunity.visualstudio.com/content/problem/232465/clang-format-messes-with-closing-parentheses-in-fu.html)

    0 讨论(0)
提交回复
热议问题