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

    <tr>
        <th>Summary</th>
        <td>
            clang-format: Behavior changes between 16.0 and 17.0
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          LinZhihao-723
      </td>
    </tr>
</table>

<pre>
    Hi, when I update the clang-format from v16.0 to v17.0, the behavior of the following code block changes:
Before (16.0):
```
 PyObjectPtr<PyObject> const readinto_method_obj{
 PyObject_GetAttrString(input_stream, "readinto")};
```
After (17.0):
```
    PyObjectPtr<PyObject> const readinto_method_obj{PyObject_GetAttrString(input_stream, "readinto")
 };
```
Is this an expected behavior? Is there any new settings I need to update to keep the old behavior, or at least sth like:
```
 PyObjectPtr<PyObject> const readinto_method_obj{
 PyObject_GetAttrString(input_stream, "readinto")
    };
```
Here is my clang-format config file: https://github.com/y-scope/clp-ffi-py/blob/main/.clang-format
Thanks!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMlEFv6zYMxz-NfCES2HQcJwcfknZeCwxYge20SyBZtK1GlgyJSZZvP9htuvbhIYf3Lg8IEBAyyZ_4p_4yRtM5okoUe1E8JvLEvQ_VH8b905te-kWJeaK8vlZPRuADXHpy8AynUUsm4J6gsdJ1i9aHQTK0wQ9wztbLFNjDOSuX6ZQ1faeol2fjA_h2jltvrb8Y10HjNYGyvjlC00vXURT5TqSPIt3tqfWBQOBmqilw-3Ei1un7bw7h5fqneqWGXziI_OEWifw3aLyLDIGkNo79YSDuvT549SrK_TfJh9-Jd8zhLw7GdQI3xo0nPkQOJIfpIgLxVkggTjzlo8j330XatUxhRi_vowP8IP1PYL91vkP_HIF7E0E6oH9Hapj0h4Qir2E-p0Ag3RUcXSASs3FdhGdwRHrS_7YlHo5E46y6t5_K4AP4AJLBkowMkXuw5ki_nMYfMt2Z19M0CxNhuH59EY13remgNXa6F_TM47zeWAusO8P9SS0bPwisr4vY-JEE1o0dF21rFuNVYK2sVwLrQRonsF5-Lv7W-e9eumMUmCW6yvU238qEqqxMswyLdY5JX20RKVdYlDrVabnRBa23eUpEZdpimqrEVJhinmVYIhZ5gctm1ahGbZVerYtNi1qsUhqksUtrz8PShy4xMZ6oKvNis0qsVGTjbCGIXwARJ1MJ1ZS2UKcuilVqTeT4fyE2bKn6kpXvYH9zi3dHAEV8IXIwe4t0GqZXlZyCre6MdGry_rcYg5-3BesZPQqsZ_r_AgAA__-0M5DD">