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

    <tr>
        <th>Summary</th>
        <td>
            Option for west const in const-correctness
        </td>
    </tr>

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

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

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

<pre>
    [const-correctness](https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html) is a great check with an even better fixit, but it only supports east const. It would be great if west const was also supported, since [both are valid](https://hackingcpp.com/cpp/design/east_vs_west_const.html).

I agree that west const is less consistent - but the inconsistency only manifests itself in edge cases, and I don't plan on writing code that hits those edge cases in my codebase on a general basis.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU01zozAM_TXmogkDDh_JgUO7ncz0tD-hY7AAbR2bsUTS_Psd07Tb7u4FRsjv6T3xbJhp8oidqh9V_ZSZVeYQu4uxpLM-2FtqDMGz7IYQIw7ikVnVT0ofZpGF1f5B6ZPSp8EZP-XOXc55iJPSJ3yTaD4aOyF7S8WMwysrfToTD6n-mzqf5eyUPgIxGJgiGoENBFeSGYwHvKCHHkUwwkhvJEr_gH4VIIHg3Q14XZYQhQENC2wTcngWuIbVWejxzkojXPHjAFwNg3EcPtBoEy2THxBU_diHNDwiXIwj-z__sxleyU_DsuRDOCdry6L0yWJacFqHYXm58Eua-fIu6m41V8WTKh7en89gpogIMhv5qo8YHDJvFbGgF9htrmVGIP_5ebi9L-FsPI3IwkDC6EYgD2gnhMEwcvJmvIVnsMEr3QoszngIHq6RhPwEQ7B3ETMJg8yB8QtBojvftlO9YUxIAxN6jMZBb5g4z2y3t8f90WTYlc2hKpp2X7fZ3JW90cemLHrTN3tsemysLg_H1lTtsSnrOqNOF3pf1GVVan0s2_xgq6Jt22qo9nYcq1FVBZ4Nuc-4ZcS8YtfotqgyZ3p0vCVaa49X2JpK6xTw2CXMrl8nVlXhiIX_sAiJw-7nIhQ8jCF--wEe_glrtkbXfY_BRDKv_T0Cifj-2i0x_MJBlD5tctId2OT-DgAA___-BzBp">