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