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

    <tr>
        <th>Summary</th>
        <td>
            -Wtautological does not emit on character literals
        </td>
    </tr>

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

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

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

<pre>
    ```c
void bar(void);
void foo(int omnipresent)
{
    if (omnipresent < 'A' && omnipresent > 'Z')
        bar();
}
```

This code should be an obvious `-Wtautological` warning (as it would be if number literals were used instead), but this is silent.

Unless this is some weird EBCDIC thing, there is no reason this should not be a warning. (Even still it also applies to redundant `==`).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUk2PozAM_TXhYg2iAUo5cJh-jLT3Xa20twAGsgoJikOr-ffr0HanEznEyXuxnx1a1382Yp_drRPZWWTvV6d7aJUX8hBdIWuRH1-gwTmGtA3gZqsXj4Q2RNZGEdWDCzz0AEx9oYHIT3xUvfPkdc8G3-FLhP_w_B8RHuMu6VWOqM4P51nCY7t9f06aoHM9Ak1uNVwTgrLg2qt2KwGz334HtQZn3Kg7ZfgAbspbbceoWhHoALfnTS7FrnOLHowO6JUhuKFHWAl70JYCqq1V8gTtGiDE5GykDdeVvur6ZQ0SfTHcjBxK-x4ux9P5xykidoyBwhQzMMc68KjI2futRz3Wha2mp-o0yr5c0QIFbUyUzzIdqGUxGjljjNKvtlex09ys_ByNHVmnSd_kfZ3XKgk6GGy-9wZ6h7QlxJnDspBuUl514aUfyepNM4WwkMj5fT_YRh2mtU07N_PGmOtzeVu8-4sd_zUfmmhFYqcssypLpkZVeTfkHR72fVdXWKLcDQqlzCp1UOVQJEa1aKgR5VFIafEGWwj2RXlOdCMz5hayzPa7Wu5SLIqirbCVan_A7oCiyHBW2qRRR-r8mPhmk9SuIzFoNAX6AhWRHi3ilo7jc08m5xt-jE9Fi853RbKlbzb5_wDydQll">