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

    <tr>
        <th>Summary</th>
        <td>
            clang-format unknown key 'AfterNot'
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

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

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

<pre>
    First time configuing .clang-format file and was trying each option on the style options documentation.

https://clang.llvm.org/docs/ClangFormatStyleOptions.html

When I saw the SpaceBeforeParensOptions.AfterNot option on the documentation but it was not on the file, adding it manually causes the error: unknown key 'AfterNot'.

#### SpaceBeforeParensOptions (SpaceBeforeParensCustom) clang-format 14
- bool AfterNot If true, put a space between alternative operator not and the opening parenthesis
```cpp
true: false:
return not (a || b);            vs.    return not(a || [b);
```

I imagine it is something upcoming in clang-format 20? But there is no notation on the docs for those.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0U82OpDYQfhpzKQ0yBobhwIHuFcpckkhzyNmYApw1NrLL0-q3j0z3znZvtMiSwVR9P64qGYJeLGLH6hOrv2Uy0up89027xf3x8ZGNbrp2g_aBgPSGoJyd9RK1XSBXRtrlZXZ-kwSzNgjSTnCRAchfUwRKtYLbSTsLzgKtCIGuBu9nASan4oaWZPrMGe8Z71eiPbCyZ2JgYjg4cmM-t9z5hYlhciowMZzT-XBQfyTIv26I-UqbueH8s6KFdwjychB_7FLhCWfn8W_p0YYfGf1M6P909IvQJ2kwRgJNhzebQm8xyTMTZ5DTlOxqgk3aKI25gpIxYDii0HvnWdlDtN-tu1j4jldgovlBzERzt85E-bV-KxiYePvfv3MM5DYmWngqSlEx3r_A6JyBL5_vM5CPh_A9EkgICQ1GpAuiBWkIvZWkP1Od0Ety_jCdipv8uB1tsrsnZlox6JC0v_LbUvvOeH8wlD3M0oT0wnjvkaK3BxQTbxJYc2bNGUYmWlae4OH5DHnafiY8xrP6dE95ZL1d4DvoTS7aYqqFDhDchrQmsXFXbjuKZJ-vSHBWDnCKlLx5TFnWJU75SzcEmJ0HWl3APJu6cmrLVmbYFU39WlVlU7XZ2sn2dS5k1VRTMZVTq4R45UoJLlQ1IhZtpjvBRc3fRMtrLkSbI46Ky2lqFS_mlo-s4rhJbb56PtMhROyKum6bIjNyRBOOaRXi0QgTIs2v71LeyxiXwCpudKDwE4k0Geye7P--J7PoTfc8jIumNY65Sp02JNT79rJ79y8qYmI4xKYBvev97MR_AQAA__-fmHO6">