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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] `SpacesInAngles: Leave` ignored if template is declared as part of a macro
        </td>
    </tr>

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

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

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

<pre>
    `SpacesInAngles: Leave` in `.clang-format` should leaves `template<foo<int> >`, instead the space is removed. 

Applied on a chunk of libc++ code similar to

https://github.com/llvm/llvm-project/blob/ff286d7178db7dfcd92724cf87dd8554213e9f23/libcxx/include/__memory/allocator_traits.h#L36
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkj-P3CwQhz_NuEFnsYON14WLvT-WXum6t0tzwjDYJBgswJu7bx_Z0SlJFaUBaRgG_XgelbObA9EA7SO0z5XayxLT8MWFWa3VFM3HAJL_vylN-b9wC7OnDOLGXkndCSRnLjCQvNZehfnBxrSqcpTzEndvmD_a8tFRaN28KgTiycYI4smFAuKFgXgByQGfmAu5kDKsLMTy8SBzmSVa451MzYA_A7_9XG_b5h0ZFgNTTC97-MaiZd5NGvAR8JHpaIhltzqvEivx97tLKduRAHAEHGdXln2qdVwBR-_vn9vDluJX0gVwnHycAEdr8SpNd-muZuqM1abHDhttr50x17Zt8CKotyiOAW7S7--Aowva74YAx7e3ldaYPgBH5X3UqsT0VpJyJdcLoHgVsjKDML3oVUXDRV6v2MlLj9UyWE7iokzfdY1pu0vfWKmV7SQStsgtVm5AjoJ3HHkrpMBaqJb3JHvdkaTGIDScVuV8fUSrY5orl_NOgxRSyMqriXw-BUAM9J2dh4B4-JCG8zumfc7QcO9yyb-mFFf8ac4f9Ntn9hdl5hATGeYs-7TiQG1Ie3XUVWabSuVgqtiqdIrVnvzwz-TOHBlwPHP-CAAA__-GBeyz">