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

    <tr>
        <th>Summary</th>
        <td>
            Why clang-format doesn't work?
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          lalala-233
      </td>
    </tr>
</table>

<pre>
    Linux-6.1.11.arch1-1

```bash
$ clang --version                        
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

$ clang-format --version  
clang-format version 15.0.7
```

When I use the opinion `AfterOverloadedOperator: true`, clang-format doesn't work completely.

Before I use it:

```cpp
class printer
 {
      public:
        template <class T>
        printer& operator<(T o);

        template <class T>
        printer& operator<<(T o);
    }
```

But after I use it:

```cpp
 class printer
    {
      public:
        template <class T>
 printer& operator<(T o);

        template <class T>
 printer& operator<< (T o);
    }
```

Why does it do that?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VE2LrDoQ_TVxE5RY0WgvXExPP2HgwWwGZvmIWq15NxpJ4nz8-0u0u28P9AyX-xFFJVV16tSpMtI51U-IFcn3JD9EcvGDsZWW4YqB86gx3Xv1r5qWt1gkaZKmibTtkMYpYQfC7k5Pwba7kW44bUFGWy2nnsbxC1qnzEQ_WVvA5nx2TfOEJcVmeZK2R0_4HX0rxX8ii-c21iujflpOLoNF2dHRdKiD42ycettMD5PzUmvsDsoGE4F6cZZA3ajpQw1nwvHR2FH6a95XDM_WW0QvMlzjPg840Qe6OKR-QGpmNYU4Itjd0aN9fEGrjeywe5zRSm9Wkt4uGHDg_iOnzqCbCBSevhr7jbZmnDV61O_Jdco9Ho3FU1IVlLvZrHaeL4U5R2erJo9226Kk2J--1jUvjVbtBencOo_jrKVHSvj9hvJE-D8ffc64IKi5lHhPoHyihsCO8P01uz-AfAt8nbPi8EWf9ounMnTk53Wjt4RbE_22dn9BtE_Vor8i1_Pwvk4jVWEqqR-kJ7yOuop3O76TEVapKES64zkU0VB1IHd52zSMs7xsC8iKMs-PBZbHNBcZ6yJVAQPOIAW2S8usSJoSBIeuScs0Z4wByRiOUulE65cxMbaPlHMLVoKJUkRaNqjdeowBTPhKVyMBCKearUJM3Cy9IxnTynn3A8Urr7EK5Xzxp4XSFqurwfvZhU5CTaDulR-WJmnNSKAOgKdXPFvzP7aeQL3ScATqleb3AAAA__9f54oy">