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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Alignment does not honor ColumnLimit
        </td>
    </tr>

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

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

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

<pre>
    Given the code
```c++
LongT foo() const noexcept;
T bar(int arg, int arg2, int arg3,
      int loooooooooooooooong) noexcept;
```
with `AlignConsecutiveDeclarations: true` and `ColumnLimit: 40` it gets formatted as
```c++
LongT foo() const noexcept;
T     bar(int arg, int arg2, int arg3,
          int loooooooooooooooong) noexcept;
```
which does not fit within the `ColumnLimit`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU89u2zwMfxr6IjSQ6T91Dj60CfJ9wHrsC0gybWuVpUCis3VPP8gJ1q69bSMImCYpUvzxJ5WSnTxRD80jIP6vfqg4vH7xazpTfKGXBIjQHAu18hxi_zle6DC89v_ZC3nBMwkTBgJ5BPkArbyqAXzMunmfgp-exRgCYAe4Fyb4xMIH-m7ozFDd0p6FVhGws56FihPgQdxMfGdXgIdrvtgku134IH7KfT51-HW96-83y7OAVj44O_lD8InMyvZCRzJORcU2-ATVg-C4ErRSKD_k9ENw6-Kf7GI5R-tcUFgWE3ESY4iLYqZBqPRPMMnyJ7j8LTazNbMYAiXhA4vRsshw2evGP6DQyl0x9NWwr_aqoL5s921V7-u6LOZeSeqkHruy7rQssWrux9Zocz8aPZqmUoXtUWJVSlmVbSlruZOqrlupG33flWVNLdSSFmXdzrnLsgtxKmxKK_VtVyIWTmly6cZlvU6ZvHgAROOUn-6u-7gxOva5xJ1epwS1dDZxeivKlt32Jn472BzFRo-FPL_BMQcfongHQbFG18_M50wYwBPgabI8r3pnwgJ4yl1un7tzDF_JMOBpmyMBnrZRfgYAAP__HukczQ">