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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format]: Google style option won't compile with clang++
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          k-doering-NOAA
      </td>
    </tr>
</table>

<pre>
    @msupernaw noticed that for the Google style option with clang-format, Nested templates are formatted in a way that won't compile with clang++. For example, `std::shared_ptr<fims::RecruitmentBase<T>> rec;` won't compile because there is no space between the trailing `>>`. `std::shared_ptr<fims::RecruitmentBase<T> >`, with the space between does allow compiling.

We also see this same thing (`> >` being styled to `>>` ) with the LLVM style option.

We think this is a bug, given that the styled code that results can't be compiled with clang++.


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU81u2zgQfhrqMrBBk5JsHXSwnXgv2SywKNpjQZFjiQ0lCuQobt6-oOQ0cVOgQC_6GYLfz8x8KkbbDog1Kw6suMvURJ0P9dPKeAx2aFeP_-33WePNS81y3sdpxDCoCwyerEYD1CmCsw9AHcI_3rcOIdKLQ_AjWT_AxVIH2qmhXZ196BUxcYRHjJQuYz86RRhBBYTlONXtAAou6mVBv_iBiS2B9v1oHb5DZOLAxGENJx8Av6t-dJjQWckjGSb3TO5jpwKaryMFJo9n28el_D_qMFnqcaCDisjk8ROT90zeQ0DN5IGV_ANvg1pNEZPTgGAjDB7iqHQ6oQviMPeAgrLODm1SsUCykq__XhMsCMnXbDxx3LIanxronL9cpdqhXTN-x_h-eX5BUC56iJjE2whR9fNXUil2i9ArDzSYyvMIDZC_sQFMVG8qHh4-_3sz619JE8PTwmgjKGimNtlo7fPcK0WLmYVKe4NLMWCcHEXQaul_g68jMB9n_54yM7U0laxUhvWmrMpiI2SeZ10typKbXVXu9KbaqlyIJldii7muBDflVmS2FlzIDefFRopCbteV2Klz1WhdmLIo-JnlHHtl3dq5537tQ5vZGCesy53k28ypBl2cIyTEVZ1g4vj693PzRYpYqBPIqpnayHLubKT4BkuW3BzGm4vFHZP738frD-HIpuDqjmicl0ycmDi1lrqpWWvfM3FKxNfXagz-G2pi4jSbi0ycZn8_AgAA___ro1S7">