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

    <tr>
        <th>Summary</th>
        <td>
            Create readability-math-missing-parentheses check
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy,
            check-request
      </td>
    </tr>

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

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

<pre>
    I'm adding this here so, i woudn't forget.
Create check that detect missing () around mathematical expressions when operators of different priority are used.

```
int main()
{
    return 2 + 2 * 2;
}
```

Should be:
```
int main()
{
    return 2 + (2 * 2);
}
```

Similar thing for other math operators.
Main purpose is to explicitly show evaluation order.
Consider adding option to skip constructions that properly handled from left to right like: `2 * 2 + 2`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU02PozoQ_DXm0krkmJCPA4fJRJGe9J70pLntzeAG946x2XYzs_n3KwjRXPawh5VQA1ZTRVd12Zypj4i1qi6quhZ2Ep-4_p-S8Le3f4smuXv9jzLHAaxzFHsQTxk8MkJOyrwCwWeaXFTmKNAl7lG2Sl-VfnlltILQemzfQbwVcCjYCgyU84ykzEmZM1hOU3QwWPE4WKHWBsCfI2POlGKGT48R0ohsJXGG1IGjrkPGKDAyJSa5g2WEKaNbudd60Ou1vFIUGCzFB-_acrw8HgAAGGXiCAaUuSz1BYwqL8_O629RH_XNpyk4aFCVf4NcmdOT35z_9BdooGB5Nij2sxWQxCMvwn7ptwr0n6UI48RjygiUQdKseaCWJNwh-_QJ-GHDZIVShMQO-Wlripkc8nMf0ri0SIL8TiO0KWbhqZXFu8X2kWf2cAdvowvooOM0QMBO5q-Yei8Q6H2WDtRBr4M_TFAHvS1cXbpzebYF1rujPpqyPO32ha81lpVtbNkeO3PuGr1Dd6663ckcbNNhZwuqjTZ7bfRhV5WHqty2zf6ou6o5O3s4tU2p9hoHS2EbwsewTdwXlPOE9UmfKl0E22DISzSMaYON_UbI3ZUxyrzOR_Nqbxh_TJhlPq2uBdcz1KaZ-qz2OlCW_AUuJAHrNRiM1tmGAsl9M3u0WXOxGe282x4z5kd6iolD7UXGPG-XuSlz60n81GzbNChzm_HX22bk9B1bUea2TJKVuS3D_AoAAP__tmo2Kg">