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

    <tr>
        <th>Summary</th>
        <td>
            bugprone-macro-parentheses on include
        </td>
    </tr>

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

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

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

<pre>
    Hi,

I'm a n00b at this stuff, so please let me know if i'm just not getting it.

[LVGL](https://github.com/lvgl)'s [lv_drivers](https://github.com/lvgl/lv_drivers/) project is using `#  define SDL_INCLUDE_PATH    <SDL2/SDL.h>` in [their code](https://github.com/lvgl/lv_drivers/blob/0091dc612facc94dce1061a9b78d641c77f1791a/lv_drv_conf_template.h#L109).

We use this in our project and it causes a bugprone-macro-parentheses  warning. I don't know what's wrong with this use, or what the potential bug could be with such usage. I've had a look at the [test cases](https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/test/clang-tidy/checkers/bugprone/macro-parentheses.cpp) where i think this usage is missing.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyclE9v4zYQxT8NdRlYoChZsg46JPG6G8AoCqR_jgZFjkRuaFLgH7v59gVlp9n2UKR7kSAMZ-bp9x7IQ9CzRRzI9pFs9wVPUTk_iDdh3BKqfseK0cm34asm7InQPaEPt-czYd0ZOFhKR-ARotIBQkzTRNgTBAeLQR4QDEY4I7xadwU9gV7bvqUQwboIM8ao7Qw6lt8PJ9vH4-8_Hcl2T9hOxbgEUj8QdiDsMOuo0lgKdybsYC6zIawnrAtAto_mcpJeX9CHT3YevuvIZ3pYvPuGIoIOkEJWRlpKWA0gcdIW4WV_PD3__HT8bf_l9MvDr18BAEj99LI_MsIOL_tjqUj9hbQUtM2SokLtQTiJPyRpNG4k7EBpX0nRVmziQvSNFFjRtuL92O1k21Si66aq6yv-3n45CWenU8TzYnjEUhFWHyvaE9b_g_MfCCngzTttwSX_NwBuJegIgqeAATiMaV68s7g5c-HdZuEebVSYi3Dl3mo7l_AM0lnCunjz-6p4XL25emdnuOqobrtSwJwS59cjEBXC4iLaqLnJm0C4ZCSMeOsJSShIgc9YQs7dBUFxCRyMc69wH5BhY8iKA37Cf3N5f23uv_yB-8y1JewgDLfzJjpnwgb_jD7jzSs-Slq-5Q-F4vXu153SOuRfnEqxLDliV4UeQWcS9vWdB58xZ-6sQ07d3aRCDrXs654XOFRdRSmlbdMVathySRnDbhrblk18YvVuagTuRjmKseJY6IFR1tCa9lVb0aYrWUt5vaP9iN247URPGopnrk2ZCZTOz4UOIeGwa9q6LQwf0YT1TmDM4hXWImEsXxF-WKmNaQ6koUaHGD6mRB0NDv8RFmdBW2GSxCJ5M_xvi1YlGfWq9K8AAAD__15eiFc">