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

    <tr>
        <th>Summary</th>
        <td>
            Clang-format error: unknown enumerated scalar SpaceBeforeParens: Custom
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          alexolog
      </td>
    </tr>
</table>

<pre>
    When trying to format a c++ file from within Visual Studio Code with the clangd addon, and using clang-format 15.0.6 or 15.0.7 that was previously installed using homebrew, I get an error saying:
```
error: unknown enumerated scalar
SpaceBeforeParens: Custom
```
According to documentation, this option is valid in version 15
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEks2OmzAQx5_GXEaLwGBIDhySrCL1Vmml9jzYA7g1dmSPk-7bV7Cp2kPVSkh4vn6e-XswJTt7okGos1CvBWZeQhzQ0Y_gwlyMwbwPXxfywPHd-hk4wBTiigwIWsizkGeYrCOYYljhYXmxHr7YlNHBG2djA1yCoT0CvBBoh342gMYEL-QF0BvIaUPvkZcnvVZlVXYQ4sepB16Q4YEJbpHuNuTk3sH6xOgc_SIsYaUx0mPjfoKZGNADxRgiJNzaF81JVK-iOomuen67ueeI5gTZf_fh4YF8Xikik4Gk0WH8yHu7oaYzTSHSZ4zk01ZzyYnD-lfuSesQzVM3E3ReyTOy_RidF5sg3DYTbII7OmvAerhTTJuvVoUZGnNsjljQUHf94dBWx1YVy9BUB6Mm0x_aqZ_aUY39se7NpHQva62oK-wgK9lUTa2qqpVSlV1f93LqELVUzdQeRVvRitaVzt3XMsS5sCllGrq6lW3hcCSX9q2Q0tMD9qCQcluSOGw1L2Oek2grZxOn3xS27Gi4_PmW_1cX_iFskaMbFubb5hPyKuR1trzksdRhFfK63fz8vdxi-Eaahbzu_SYhr_s8PwMAAP__8N30Vg">