<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57605>57605</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            AlignConsecutiveDeclarations and PointerAlignment should support double pointers spaces
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          3v1n0
      </td>
    </tr>
</table>

<pre>
    Original Issue: https://bugs.llvm.org/show_bug.cgi?id=51861 (https://github.com/llvm/llvm-project/issues/51203)

When using a config including:

```
PointerAlignment: Right
AlignConsecutiveDeclarations: true
```

with code such as:

```
static void
foo_function (int *ptr,
              const char *path,
              GError **error)
```

We get:

```
static void
foo_function (int        *ptr,
              const char *path,
              GError    **error)
```

While an extra space can be expected:

```

static void
foo_function (int         *ptr,
              const char  *path,
              GError     **error)
```

Not sure if this should be available through another `AlignConsecutivePointerDeclarationStyle` option.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVE1v2zAM_TXyRVggy7WTHHzImnXYZRu2Q4-FLDOWBkUyJCpd__1oJ1s_0AUZVkGwRIoi-Z5FdqF_aL9EO1ivHP-UUgZWbbhBHBNtmLyh2eUhLZw77BchDiQnE-7vSLnQg2XVje1Zta3LVVNyJlfPrw4WTe4WOuxJmFyclndjDD9AI4l2CppoU5dSVEyumdgysTl-bw14npP1A1dcB7-zA7deu9yTaoryxJY14jRn8WuwHiFunB38HjxOuL7ZweDxeNZfB59AZ7QH2IJ2Kiq0pJpMMRIVr_k9fu8JGCXUA09ZG67S-WQSkmfND4HImhW7EO522esp3kQb5UrLZsTI5PXRhD8bBD4h10bF2U6h-Yvhxw8xhtmIJkz7R05fQ3ILfAB8g_RP401RHP1dCMRYB1x5Dj8xKp5GpYFrkjsg1UivDfrzMP8d7MVoL4Z7Od7PAenxReB2x9HYxKkus-snuOqgrFMd0YEmhjzQA_UBDRDrjXj58k-F8qQAvuODA7LkYZzERQFt2TSyrq-kFEXfVv26WqsCLTpozxUShe35y0L8nWfK4xgi8j7kKdPxaJaOPy4VObr2P5rJshF1YVpV7Za9qEF01KBk1QhZ62pXypVeruoV6IJoApdaVr9nUnq457ML2rN6W9hWCoK8FsuS7tbrRdN10NVLCasldKICdiVgT1z_aY9FbOeUpp5Jh84mfOydhUqJSACYw5F_ldGE2FaH0otiDtzOif8CrcqnBg">