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

    <tr>
        <th>Summary</th>
        <td>
            [C++20][Modules][clang-format] Incorrect format for `export import </>`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    I'm using clang-format 15. Recently I find that if I write
```
export import <Eigen/Core>;
```
Then `clang-format` will incorrectly convert it to
```
export import <Eigen / Core>;
```
Extrac space will trigger compilation error.

Full code will be:
```
export module MyLib;

import std.core;
using namespace std;

export import <Eigen/Core>;
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydkslu5CAQhp8GX1AsDF7aBx_Sm9RSchnNC2BTbTPB0AKcpN8-ZbdbmU0zmpEQpZ_aPihap67NifBqpFPQtqedkbZ_ODs_ykizIqVfoAMbzZWe6FlbReOADn1G-eZ1BML2hD2Skq1rkfB-cR6jxsUQsTvoHizhx53zQMSBiO1v874OYCmq7yFQ0jdtDNW2c95DN7N0zr7C3CHS6P4BgSID_QvE4T162dFwkR3cOkev-x48dh0v2sionaXgvfPpWmDZjxOGdk6tSS32ePwT2ujUZIA-X590-8my7Ct1iCrtFtjVexuRlSPc6DDgp8z_ffkEmqwsRc5ZybNENULVopZJ1NFAQ4rtjvAtLs5IsUf5vLCHm_hhWsWenu6Dous3QjNP9Rc2xJqRSpZM3jRDjJcwvxme8mOv4zC1eP0RhTGvd_Nw8e4b1kapQ5iQgR-Lqqo3ydBslKhzkW3KjNVK5VDXMhM8r0tWyhzaPDGyBRPm-yBnohvOOGd1VmUiqxhL81ZUPC8YtO0ZclWTnMEotUnnxqnzfeKbhaGd-oBOo0MMn04Zgu4twL2-nOLgfPOCXwZBjX6RyYLcLLwfXm4MyQ">