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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 23:26:36 PDT 2024


================
@@ -1175,8 +1176,8 @@ template <> struct MappingTraits<FormatStyle> {
         (SpacesInParentheses || SpaceInEmptyParentheses ||
          SpacesInConditionalStatement || SpacesInCStyleCastParentheses)) {
       if (SpacesInParentheses) {
-        // set all options except InCStyleCasts and InEmptyParentheses
-        // to true for backward compatibility.
+        // for backward compatibility.
----------------
owenca wrote:

Capitalize the first letter of "for".

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


More information about the cfe-commits mailing list