[clang] [clang-format] Add SpacesInParensOption for filtering repeated parens (PR #77522)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sun May 26 21:39:56 PDT 2024


https://github.com/owenca commented:

I think we can simply check if  a sequence of two `l_parens` have a matching sequence of two `r_parens` and insert spaces only if `ExceptDoubleParentheses` is false.

https://github.com/llvm/llvm-project/pull/77522


More information about the cfe-commits mailing list