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

    <tr>
        <th>Summary</th>
        <td>
            clang-format improperly formats concept definitions with Clang builtins
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bug,
            clang-format,
            invalid-code-generation
      </td>
    </tr>

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

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

<pre>
    Given
```
template<class T>
concept integral = __is_integral(T);
```
clang-format reformats this as
```
template<class T>
concept integral =
__is_integral(T);
```
This behaviour isn't observed for non-builtins.

## System details
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal
```
```
$ clang-format --version
Ubuntu clang-format version 15.0.0-++20220225053013+37e84d9be06d-1~exp1~20220225173121.170
```

## clang-format style options

This [.clang-format] is very close to the style options that are actually being used.

[.clang-format]: https://github.com/cjdb/project_template/blob/main/.clang-format
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVEtv2zAM_jXyRbBhy3YcH3xYknYYUOywdudAshhHhSIFkpwt_370I12MdgMGDCAsiWQ-fnxFWHltPqsLGJLuSPqJrNJZxmeA01nzACTftpp7T19I_jCZWmtaOAeqTIDOcU1JvqP7vfL7m4aw9QthNck3H2IjoOnig3UnHqiD6eJpOCpPuf8fdCbLv3B6GYILOPKLsr2jyhvCqkCt8OAuICmSpMaaWPRKB2V8MqNMX5aj0OerR55UQuBKf5wHYQXVXuwdaOAeaMwn_VdLn5439GRlrwGr4IDyC6JwoWEOtVM-OCX6gEy-7EiOsevvojehn-3gW6fOQVlzb6QsTdIiKejTy_Pk-G2KPTmN1km_tRIMP82Gg22xaB_m8D6lRUfj-ALODzRG-0xj4TI70KxMMH5M2AaFpWyQMi3zNMOCbvIK1oWsBaQrGWekeoCf5-G4OWZVnrEsyao_ELvvzSK8D1cN1I618vfO4xSQcpPcu5Nyh_MwcL4ijMWuBYvDCksY1CDy2Lg29FzrK46TMh3tPcjltLzHx5LTYwhnP9SePaJ0Khx7kbT2hI_2VQo8zs6-Qhv2b8vAHoW2g-XEFc7r4wI2kk0u67zmUVBBQ7OogDoh2Bkcsryt322PJByUUVNOP5AF3Q4_pLfBj3qnm79w1fpyO-KZMD6V9z14vJRFlq6iY7PiguEtO0BZFrxesXadV1nND4esTuUhi3D0QfsGi0UYE32HX8K2FI9F7d60yly4VjJucYrjDgw4Pq4COpS7SDXz0GAMVuXrBICJLJNVUYEsW8hIkQJWUScD8cS6LnLNmAOG9mjUuH3-txH_glRnAEZ-iM_7cLSuGRoVjbk2Y6K_AJTjpQA">